Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008245/0.0008245, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008617/0.0008617, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9175/0.9175, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7311/0.7311, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.71e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4367/0.4367, allocations: 130 MB / 0.745 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001189/0.4368, allocations: 49.33 kB / 0.7451 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.4368, allocations: 1.219 kB / 0.7451 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.369e-05/0.4369, allocations: 5.203 kB / 0.7451 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.437, allocations: 17.53 kB / 0.7451 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.4374, allocations: 108.4 kB / 0.7452 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.4374, allocations: 36.34 kB / 0.7452 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.4375, allocations: 3.562 kB / 0.7452 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.686e-05/0.4375, allocations: 22.36 kB / 0.7453 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.4376, allocations: 13.03 kB / 0.7453 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.4376, allocations: 1 kB / 0.7453 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.4377, allocations: 65.64 kB / 0.7453 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.4378, allocations: 9.953 kB / 0.7454 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.4378, allocations: 14.83 kB / 0.7454 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.438, allocations: 74.09 kB / 0.7454 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.438, allocations: 0.6562 kB / 0.7454 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.438, allocations: 5.156 kB / 0.7454 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.438, allocations: 0 / 0.7454 GB, free: 19.8 MB / 0.6355 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.0002352/0.4382, allocations: 258.9 kB / 0.7457 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.4382, allocations: 9.125 kB / 0.7457 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.992e-05/0.4383, allocations: 32.42 kB / 0.7457 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.4384, allocations: 21.22 kB / 0.7458 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.377e-05/0.4385, allocations: 113.2 kB / 0.7459 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.4385, allocations: 53.44 kB / 0.7459 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.4385, allocations: 5 kB / 0.7459 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.127e-05/0.4386, allocations: 77.25 kB / 0.746 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-06/0.4386, allocations: 0 / 0.746 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.4386, allocations: 0 / 0.746 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.4386, allocations: 3.047 kB / 0.746 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.4387, allocations: 21.95 kB / 0.746 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.4389, allocations: 230 kB / 0.7462 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 2.698e-05/0.4389, allocations: 20.95 kB / 0.7463 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.4389, allocations: 6.797 kB / 0.7463 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-06/0.4389, allocations: 0 / 0.7463 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.4389, allocations: 37.83 kB / 0.7463 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 5e-07/0.4389, allocations: 3.281 kB / 0.7463 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 7.179e-05/0.439, allocations: 37.8 kB / 0.7463 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.362e-05/0.439, allocations: 51.41 kB / 0.7464 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/0.4391, allocations: 110.2 kB / 0.7465 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.4391, allocations: 25.83 kB / 0.7465 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.383e-05/0.4391, allocations: 94.05 kB / 0.7466 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.4391, allocations: 5.578 kB / 0.7466 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.4391, allocations: 14.56 kB / 0.7466 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.182e-05/0.4392, allocations: 321.7 kB / 0.7469 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.4392, allocations: 3.625 kB / 0.7469 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.4392, allocations: 21.92 kB / 0.747 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.4392, allocations: 32.05 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4392, allocations: 1.125 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.121e-05/0.4393, allocations: 57.09 kB / 0.747 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.4393, allocations: 4.688 kB / 0.747 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4393, allocations: 2.031 kB / 0.747 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.4393, allocations: 1.438 kB / 0.747 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.439e-05/0.4393, allocations: 6.078 kB / 0.7471 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.4393, allocations: 2.094 kB / 0.7471 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.4394, allocations: 9.312 kB / 0.7471 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.4394, allocations: 6.125 kB / 0.7471 GB, free: 18.13 MB / 0.6355 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 3.881e-05/0.4394, allocations: 118.3 kB / 0.7472 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.4394, allocations: 6.328 kB / 0.7472 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.4394, allocations: 7.516 kB / 0.7472 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.01e-07/0.4394, allocations: 1.219 kB / 0.7472 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4394, allocations: 3.875 kB / 0.7472 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.4394, allocations: 1.844 kB / 0.7472 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.4396, allocations: 323.1 kB / 0.7475 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.4396, allocations: 0 / 0.7475 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-06/0.4396, allocations: 1.938 kB / 0.7475 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.4396, allocations: 1.344 kB / 0.7475 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-06/0.4396, allocations: 3.938 kB / 0.7475 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.4396, allocations: 7.969 kB / 0.7475 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4396, allocations: 1.922 kB / 0.7475 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.268e-05/0.4396, allocations: 58.33 kB / 0.7476 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.4396, allocations: 6.016 kB / 0.7476 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.4396, allocations: 1.719 kB / 0.7476 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.4397, allocations: 6.516 kB / 0.7476 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-06/0.4397, allocations: 1.969 kB / 0.7476 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.4397, allocations: 1.188 kB / 0.7476 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.857e-05/0.4397, allocations: 86.05 kB / 0.7477 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4397, allocations: 2.844 kB / 0.7477 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001154/0.4398, allocations: 10.84 kB / 0.7477 GB, free: 17.48 MB / 0.6355 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.0001559/0.44, allocations: 0.5918 MB / 0.7483 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.44, allocations: 13.36 kB / 0.7483 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.44, allocations: 1.188 kB / 0.7483 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.13e-06/0.44, allocations: 6.656 kB / 0.7483 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.4402, allocations: 6.875 kB / 0.7483 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.4405, allocations: 137.8 kB / 0.7484 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.4406, allocations: 59.33 kB / 0.7485 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.4406, allocations: 6.766 kB / 0.7485 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.4406, allocations: 9.531 kB / 0.7485 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.4406, allocations: 0 / 0.7485 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.4554, allocations: 2.031 MB / 0.7505 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.739, allocations: 11.8 kB / 0.7505 GB, free: 15.82 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.460439988411963] Failed to read output from testmodel.py, exit status != 0: 7.816064375452697 7.827279033 7.387299975 Calling exit ...