Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirProperties.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.001296/0.001296, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002242/0.002242, allocations: 218 kB / 23.04 MB, free: 5.074 MB / 14.72 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8405/0.8405, allocations: 134 MB / 447.2 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="cs",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.002007/0.002007, allocations: 66.75 kB / 0.6194 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1677, allocations: 85.91 MB / 0.7033 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.553/0.7207, allocations: 152.4 MB / 0.8521 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004548/0.7252, allocations: 3.654 MB / 0.8557 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.7254, allocations: 0 / 0.8557 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.7257, allocations: 67.64 kB / 0.8557 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.726, allocations: 135.2 kB / 0.8559 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.7287, allocations: 1.071 MB / 0.8569 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.7291, allocations: 319.8 kB / 0.8572 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.7291, allocations: 9.734 kB / 0.8572 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.7295, allocations: 209.2 kB / 0.8574 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.7297, allocations: 139.5 kB / 0.8576 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.7298, allocations: 12 kB / 0.8576 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.732, allocations: 1.325 MB / 0.8589 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.7321, allocations: 71.78 kB / 0.8589 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.7322, allocations: 111.5 kB / 0.859 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.7333, allocations: 0.6426 MB / 0.8597 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7333, allocations: 4 kB / 0.8597 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7333, allocations: 0 / 0.8597 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.7334, allocations: 0 / 0.8597 GB, free: 6.465 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001147/0.7345, allocations: 0.5204 MB / 0.8602 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.7345, allocations: 12.03 kB / 0.8602 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.813e-05/0.7346, allocations: 4.562 kB / 0.8602 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/0.7346, allocations: 62.66 kB / 0.8603 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.7358, allocations: 136.7 kB / 0.8604 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.7361, allocations: 166 kB / 0.8606 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.7361, allocations: 16.38 kB / 0.8606 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.7361, allocations: 19.98 kB / 0.8606 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.7368, allocations: 350 kB / 0.8609 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7368, allocations: 0 / 0.8609 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.7368, allocations: 11.94 kB / 0.8609 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.7368, allocations: 16 kB / 0.8609 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005795/0.7374, allocations: 328.1 kB / 0.8613 GB, free: 4.766 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.7391, allocations: 1.074 MB / 0.8623 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.7396, allocations: 178.5 kB / 0.8625 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.7398, allocations: 76.75 kB / 0.8626 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003725/0.7401, allocations: 83.91 kB / 0.8626 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.7402, allocations: 42.5 kB / 0.8627 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.7402, allocations: 4 kB / 0.8627 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.0006937/0.7409, allocations: 258.5 kB / 0.8629 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.7409, allocations: 51.41 kB / 0.863 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.7412, allocations: 204.4 kB / 0.8632 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.7412, allocations: 33.7 kB / 0.8632 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.7413, allocations: 140.2 kB / 0.8633 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.7414, allocations: 79.31 kB / 0.8634 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.7415, allocations: 57.77 kB / 0.8635 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7416, allocations: 338.8 kB / 0.8638 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.7418, allocations: 64.23 kB / 0.8638 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.742, allocations: 164.7 kB / 0.864 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.7423, allocations: 248.3 kB / 0.8642 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.7423, allocations: 7.938 kB / 0.8642 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005397/0.7429, allocations: 286.4 kB / 0.8645 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7429, allocations: 8 kB / 0.8645 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.7429, allocations: 10.75 kB / 0.8645 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.7429, allocations: 7.938 kB / 0.8645 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.7432, allocations: 55.91 kB / 0.8646 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.7432, allocations: 4 kB / 0.8646 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.7434, allocations: 31.72 kB / 0.8646 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.7434, allocations: 16 kB / 0.8646 GB, free: 1.051 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001341/0.7436, allocations: 138 kB / 0.8648 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.7437, allocations: 23.91 kB / 0.8648 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.7442, allocations: 285.8 kB / 0.8651 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.7442, allocations: 4 kB / 0.8651 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7442, allocations: 0 / 0.8651 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.7442, allocations: 3.984 kB / 0.8651 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.745, allocations: 0.5655 MB / 0.8656 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.745, allocations: 0 / 0.8656 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.7452, allocations: 35.92 kB / 0.8657 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7452, allocations: 0 / 0.8657 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.7452, allocations: 8 kB / 0.8657 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.7452, allocations: 3.938 kB / 0.8657 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7452, allocations: 3.984 kB / 0.8657 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.7457, allocations: 348.7 kB / 0.866 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.7459, allocations: 51.75 kB / 0.8661 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.7459, allocations: 8.875 kB / 0.8661 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.7462, allocations: 11.98 kB / 0.8661 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.7462, allocations: 11.97 kB / 0.8661 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.7462, allocations: 19.98 kB / 0.8661 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001374/0.7464, allocations: 152.3 kB / 0.8663 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7464, allocations: 0 / 0.8663 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005347/0.7469, allocations: 123.7 kB / 0.8664 GB, free: 15.19 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001194/0.7481, allocations: 0.9917 MB / 0.8673 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003908/0.7485, allocations: 204.3 kB / 0.8675 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7485, allocations: 0 / 0.8675 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.7486, allocations: 99.94 kB / 0.8676 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006374/0.7493, allocations: 94.89 kB / 0.8677 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.7525, allocations: 2.527 MB / 0.8702 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.7528, allocations: 0.7406 MB / 0.8709 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002449/0.7531, allocations: 58.23 kB / 0.871 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.7532, allocations: 55.42 kB / 0.871 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.7532, allocations: 0 / 0.871 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.7839, allocations: 8.154 MB / 0.879 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.47, allocations: 0 / 0.879 GB, free: 2.273 MB / 0.6387 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.17469708889257] Failed to read output from testmodel.py, exit status != 0: 12.634583983919583 12.651628084 11.915012492 Calling exit ...