Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007022/0.007022, allocations: 101.1 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 191.6 kB / 16.67 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.5 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 59.91 kB / 0.5858 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4374, allocations: 81.02 MB / 0.6649 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1735/0.6109, allocations: 149.1 MB / 0.8105 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004324/0.6153, allocations: 3.609 MB / 0.814 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.6154, allocations: 0 / 0.814 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.6158, allocations: 67.64 kB / 0.8141 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.6161, allocations: 135.2 kB / 0.8142 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.6187, allocations: 1.014 MB / 0.8152 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.6191, allocations: 319.7 kB / 0.8155 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.6191, allocations: 13.56 kB / 0.8155 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003689/0.6195, allocations: 195.2 kB / 0.8157 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.6197, allocations: 135.5 kB / 0.8158 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.6198, allocations: 12 kB / 0.8159 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.6218, allocations: 1.216 MB / 0.817 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.6219, allocations: 67.84 kB / 0.8171 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.6221, allocations: 107.5 kB / 0.8172 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.6232, allocations: 0.6395 MB / 0.8178 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6232, allocations: 4 kB / 0.8178 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6232, allocations: 0 / 0.8178 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.6232, allocations: 0 / 0.8178 GB, free: 3.719 MB / 0.6387 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.001102/0.6243, allocations: 0.5996 MB / 0.8184 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.6244, allocations: 15.97 kB / 0.8184 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.032e-05/0.6245, allocations: 62.66 kB / 0.8185 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.6257, allocations: 136.7 kB / 0.8186 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.6259, allocations: 211.9 kB / 0.8188 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.6259, allocations: 16.38 kB / 0.8188 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.626, allocations: 19.98 kB / 0.8189 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.6266, allocations: 342.3 kB / 0.8192 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6266, allocations: 0 / 0.8192 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.6266, allocations: 8 kB / 0.8192 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.6267, allocations: 15.98 kB / 0.8192 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.6272, allocations: 320.1 kB / 0.8195 GB, free: 1.883 MB / 0.6387 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.001676/0.6289, allocations: 1.113 MB / 0.8206 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.6294, allocations: 192.3 kB / 0.8208 GB, free: 492 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.6296, allocations: 88.73 kB / 0.8209 GB, free: 400 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/0.6302, allocations: 461.5 kB / 0.8213 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.6303, allocations: 38.56 kB / 0.8214 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.6303, allocations: 0 / 0.8214 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.0007071/0.631, allocations: 258.9 kB / 0.8216 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.631, allocations: 59.41 kB / 0.8217 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.6313, allocations: 207.1 kB / 0.8219 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.6313, allocations: 33.7 kB / 0.8219 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.6314, allocations: 148.2 kB / 0.822 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.6315, allocations: 75.33 kB / 0.8221 GB, free: 15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.6316, allocations: 57.67 kB / 0.8222 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6317, allocations: 326.8 kB / 0.8225 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.6319, allocations: 72.22 kB / 0.8225 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.6321, allocations: 156.8 kB / 0.8227 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.6325, allocations: 253.1 kB / 0.8229 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6325, allocations: 7.938 kB / 0.8229 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005575/0.633, allocations: 275 kB / 0.8232 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6331, allocations: 12.03 kB / 0.8232 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6331, allocations: 4 kB / 0.8232 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.6331, allocations: 7.938 kB / 0.8232 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.6334, allocations: 59.91 kB / 0.8233 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.6334, allocations: 11.94 kB / 0.8233 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.6336, allocations: 31.73 kB / 0.8233 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.6337, allocations: 15.98 kB / 0.8233 GB, free: 13.64 MB / 0.6544 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.0001429/0.6338, allocations: 138.6 kB / 0.8235 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.634, allocations: 31.83 kB / 0.8235 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.6345, allocations: 275.9 kB / 0.8238 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.6345, allocations: 4 kB / 0.8238 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6345, allocations: 0 / 0.8238 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6345, allocations: 0 / 0.8238 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/0.6353, allocations: 0.5959 MB / 0.8243 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6354, allocations: 4 kB / 0.8243 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.6355, allocations: 32.05 kB / 0.8244 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6356, allocations: 4 kB / 0.8244 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.6356, allocations: 0 / 0.8244 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.6356, allocations: 4 kB / 0.8244 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6356, allocations: 0 / 0.8244 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.6361, allocations: 356.2 kB / 0.8247 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.6363, allocations: 116.9 kB / 0.8248 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.6363, allocations: 4 kB / 0.8248 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.6366, allocations: 14.22 kB / 0.8249 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.6366, allocations: 11.98 kB / 0.8249 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.6367, allocations: 15.98 kB / 0.8249 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001638/0.6368, allocations: 153.4 kB / 0.825 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6368, allocations: 0 / 0.825 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000496/0.6373, allocations: 119.8 kB / 0.8251 GB, free: 11.68 MB / 0.6544 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.00118/0.6385, allocations: 0.9999 MB / 0.8261 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.6389, allocations: 207.7 kB / 0.8263 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6389, allocations: 0 / 0.8263 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.6391, allocations: 108.5 kB / 0.8264 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.6397, allocations: 95.97 kB / 0.8265 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.6428, allocations: 2.492 MB / 0.8289 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.6432, allocations: 0.7406 MB / 0.8297 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002438/0.6434, allocations: 58.25 kB / 0.8297 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.6436, allocations: 55.42 kB / 0.8298 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.6436, allocations: 0 / 0.8298 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.6741, allocations: 7.73 MB / 0.8373 GB, free: 15.11 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.87/9.544, allocations: 12.58 kB / 0.8373 GB, free: 15.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1)