Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.0009762/0.0009762, 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.00105/0.00105, 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.9333/0.9333, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.6875/0.6875, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.2e-05, allocations: 4.672 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4613/0.4613, allocations: 130.4 MB / 0.7454 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000145/0.4614, allocations: 53.45 kB / 0.7454 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.4615, allocations: 0 / 0.7454 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.4616, allocations: 6.781 kB / 0.7454 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.36e-05/0.4617, allocations: 8.781 kB / 0.7455 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.4625, allocations: 223 kB / 0.7457 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.777e-05/0.4626, allocations: 37.84 kB / 0.7457 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.4626, allocations: 1.984 kB / 0.7457 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.4627, allocations: 18.55 kB / 0.7457 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.4628, allocations: 17.66 kB / 0.7457 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.4628, allocations: 1.062 kB / 0.7457 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.463, allocations: 165 kB / 0.7459 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.4631, allocations: 12.77 kB / 0.7459 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.4631, allocations: 11.64 kB / 0.7459 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.4633, allocations: 113.2 kB / 0.746 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4633, allocations: 1.281 kB / 0.746 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4633, allocations: 0 / 0.746 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4633, allocations: 0 / 0.746 GB, free: 19.51 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.000332/0.4637, allocations: 264.5 kB / 0.7463 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4637, allocations: 9.281 kB / 0.7463 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.662e-05/0.4638, allocations: 32.78 kB / 0.7463 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.464, allocations: 32.53 kB / 0.7464 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.535e-05/0.4641, allocations: 109.4 kB / 0.7465 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.4641, allocations: 53.22 kB / 0.7465 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.4641, allocations: 6.125 kB / 0.7465 GB, free: 19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4642, allocations: 78.02 kB / 0.7466 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.4643, allocations: 0 / 0.7466 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.4643, allocations: 3.938 kB / 0.7466 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.4643, allocations: 3.094 kB / 0.7466 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.371e-05/0.4643, allocations: 21.48 kB / 0.7466 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.4646, allocations: 232.8 kB / 0.7468 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/0.4646, allocations: 19.78 kB / 0.7469 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.4646, allocations: 8.016 kB / 0.7469 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.4648, allocations: 21.55 kB / 0.7469 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.4648, allocations: 36.59 kB / 0.7469 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4648, allocations: 1.125 kB / 0.7469 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001928/0.465, allocations: 53 kB / 0.747 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.465, allocations: 52.11 kB / 0.747 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.465, allocations: 102.9 kB / 0.7471 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.465, allocations: 26.98 kB / 0.7471 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.4651, allocations: 89.2 kB / 0.7472 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/0.4651, allocations: 9.75 kB / 0.7472 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.4651, allocations: 17.61 kB / 0.7473 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.4651, allocations: 318.1 kB / 0.7476 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.4652, allocations: 11.67 kB / 0.7476 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.4652, allocations: 25.88 kB / 0.7476 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.4652, allocations: 33.34 kB / 0.7476 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4652, allocations: 1.031 kB / 0.7476 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.31e-05/0.4653, allocations: 56.61 kB / 0.7477 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4653, allocations: 5.406 kB / 0.7477 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4653, allocations: 1.609 kB / 0.7477 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4653, allocations: 1.406 kB / 0.7477 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/0.4653, allocations: 14.45 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4654, allocations: 0.7031 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.4654, allocations: 2.375 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.4654, allocations: 1.062 kB / 0.7477 GB, free: 17.82 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 4.412e-05/0.4654, allocations: 124 kB / 0.7478 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.4654, allocations: 0.875 kB / 0.7478 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.4655, allocations: 8.406 kB / 0.7478 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4655, allocations: 1.219 kB / 0.7478 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4655, allocations: 0 / 0.7478 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4655, allocations: 0.7969 kB / 0.7478 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.4656, allocations: 342.3 kB / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4656, allocations: 1.188 kB / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-05/0.4656, allocations: 4.047 kB / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.4656, allocations: 0 / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.4656, allocations: 2.594 kB / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4656, allocations: 5.125 kB / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4656, allocations: 0 / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.494e-05/0.4657, allocations: 72.97 kB / 0.7482 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-06/0.4657, allocations: 1.797 kB / 0.7482 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.4657, allocations: 5.125 kB / 0.7483 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.992e-05/0.4658, allocations: 16.28 kB / 0.7483 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.4658, allocations: 1.984 kB / 0.7483 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.4658, allocations: 1.188 kB / 0.7483 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.998e-05/0.4658, allocations: 87.75 kB / 0.7484 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4658, allocations: 0 / 0.7484 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001252/0.4659, allocations: 6.656 kB / 0.7484 GB, free: 17.15 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001804/0.4661, allocations: 0.6056 MB / 0.749 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.59e-05/0.4662, allocations: 16.22 kB / 0.749 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.4662, allocations: 3.938 kB / 0.749 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.584e-06/0.4662, allocations: 8.094 kB / 0.749 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.4664, allocations: 13.94 kB / 0.749 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.4667, allocations: 140 kB / 0.7491 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.089e-05/0.4667, allocations: 60.12 kB / 0.7492 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.92e-05/0.4668, allocations: 10.2 kB / 0.7492 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.4668, allocations: 9.688 kB / 0.7492 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of SimCode: time 7.22e-07/0.4668, allocations: 0 / 0.7492 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.4826, allocations: 2.129 MB / 0.7513 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/7.475, allocations: 5.578 kB / 0.7513 GB, free: 15.41 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.225600004196167] Failed to read output from testmodel.py, exit status != 0: 7.551795531064272 7.559968638 7.0947125 Calling exit ...