Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 219.6 kB / 22.26 MB, free: 3.691 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.023/1.023, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8484/0.8484, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 67.91 kB / 0.7182 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5778/0.5789, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1369/0.7158, allocations: 151.2 MB / 0.9655 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001257/0.7159, allocations: 51.86 kB / 0.9656 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.716, allocations: 0 / 0.9656 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.7161, allocations: 11.92 kB / 0.9656 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.7162, allocations: 4 kB / 0.9656 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.7167, allocations: 119.6 kB / 0.9657 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.53e-05/0.7167, allocations: 43.78 kB / 0.9657 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.7168, allocations: 0 / 0.9657 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.7168, allocations: 8 kB / 0.9657 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.7169, allocations: 15.97 kB / 0.9657 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.7169, allocations: 0 / 0.9657 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.7171, allocations: 91.7 kB / 0.9658 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.7172, allocations: 19.92 kB / 0.9659 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.7172, allocations: 4 kB / 0.9659 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.7174, allocations: 79.62 kB / 0.9659 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.7174, allocations: 0 / 0.9659 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7174, allocations: 0 / 0.9659 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.7174, allocations: 0 / 0.9659 GB, free: 13.94 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003649/0.7178, allocations: 260.6 kB / 0.9662 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.7178, allocations: 8.031 kB / 0.9662 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.097e-05/0.7179, allocations: 30.75 kB / 0.9662 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.7181, allocations: 24.91 kB / 0.9662 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.9e-05/0.7182, allocations: 118.2 kB / 0.9664 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/0.7182, allocations: 55.41 kB / 0.9664 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.7182, allocations: 0 / 0.9664 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.7184, allocations: 45.69 kB / 0.9664 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7184, allocations: 3.984 kB / 0.9665 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.7184, allocations: 4 kB / 0.9665 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.7184, allocations: 4 kB / 0.9665 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.7184, allocations: 19.98 kB / 0.9665 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.7188, allocations: 231.8 kB / 0.9667 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.7188, allocations: 22.56 kB / 0.9667 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.7188, allocations: 8.891 kB / 0.9667 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.7188, allocations: 0 / 0.9667 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.7189, allocations: 38.56 kB / 0.9668 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.7189, allocations: 4 kB / 0.9668 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.719, allocations: 37.58 kB / 0.9668 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.719, allocations: 55.34 kB / 0.9669 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.7191, allocations: 113.8 kB / 0.967 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.7191, allocations: 25.7 kB / 0.967 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.7192, allocations: 92.05 kB / 0.9671 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-06/0.7192, allocations: 4.125 kB / 0.9671 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.7192, allocations: 17.72 kB / 0.9671 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.7193, allocations: 314.8 kB / 0.9674 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.7193, allocations: 4 kB / 0.9674 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.7193, allocations: 22.58 kB / 0.9674 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.7194, allocations: 38.5 kB / 0.9675 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7194, allocations: 0 / 0.9675 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.5e-05/0.7194, allocations: 57.58 kB / 0.9675 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7194, allocations: 8 kB / 0.9675 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7195, allocations: 0 / 0.9675 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.7195, allocations: 0 / 0.9675 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.7195, allocations: 7.938 kB / 0.9675 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7195, allocations: 4 kB / 0.9675 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.7195, allocations: 4.094 kB / 0.9675 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.7196, allocations: 4 kB / 0.9675 GB, free: 12.07 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.7196, allocations: 109.8 kB / 0.9676 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.7196, allocations: 11.98 kB / 0.9677 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.7196, allocations: 7.109 kB / 0.9677 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.7197, allocations: 3.938 kB / 0.9677 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7197, allocations: 3.938 kB / 0.9677 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7197, allocations: 0 / 0.9677 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.7198, allocations: 317.9 kB / 0.968 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7198, allocations: 0 / 0.968 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.7199, allocations: 7.938 kB / 0.968 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7199, allocations: 0 / 0.968 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.7199, allocations: 0 / 0.968 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.7199, allocations: 3.984 kB / 0.968 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7199, allocations: 0 / 0.968 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.025e-05/0.7199, allocations: 73 kB / 0.9681 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.7199, allocations: 3.938 kB / 0.9681 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.7199, allocations: 0 / 0.9681 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.798e-05/0.72, allocations: 7.984 kB / 0.9681 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.72, allocations: 0 / 0.9681 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.72, allocations: 256 / 0.9681 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.72, allocations: 91.28 kB / 0.9682 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.72, allocations: 0 / 0.9682 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001283/0.7202, allocations: 4 kB / 0.9682 GB, free: 11.35 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002374/0.7204, allocations: 0.6007 MB / 0.9687 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.704e-05/0.7205, allocations: 15.92 kB / 0.9688 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7205, allocations: 4 kB / 0.9688 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.7205, allocations: 4.219 kB / 0.9688 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.7207, allocations: 8.531 kB / 0.9688 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.721, allocations: 144.5 kB / 0.9689 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.7212, allocations: 0.6768 MB / 0.9696 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.205e-05/0.7212, allocations: 4.094 kB / 0.9696 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.7213, allocations: 15.42 kB / 0.9696 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of SimCode: time 6.22e-07/0.7213, allocations: 0 / 0.9696 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.739, allocations: 1.466 MB / 0.971 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/7.514, allocations: 1.875 kB / 0.971 GB, free: 8.453 MB / 0.7448 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.68081723805517] Failed to read output from testmodel.py, exit status != 0: 7.59414954087697 7.61088528 6.890292476 Calling exit ...