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.007567/0.007567, allocations: 102 kB / 15.73 MB, free: 6.039 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.001756/0.001756, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9223/0.9223, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.5852 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4168, allocations: 80.91 MB / 0.6642 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1644/0.5812, allocations: 149.1 MB / 0.8098 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003796/0.5851, allocations: 3.614 MB / 0.8133 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.5852, allocations: 0 / 0.8133 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.5856, allocations: 67.62 kB / 0.8134 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.5859, allocations: 139.2 kB / 0.8135 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.5884, allocations: 1.039 MB / 0.8145 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.5888, allocations: 315.7 kB / 0.8148 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/0.5888, allocations: 13.55 kB / 0.8149 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003654/0.5892, allocations: 195.2 kB / 0.815 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.5894, allocations: 135.5 kB / 0.8152 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.5894, allocations: 8 kB / 0.8152 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.5912, allocations: 1.231 MB / 0.8164 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.852e-05/0.5913, allocations: 67.78 kB / 0.8164 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.5915, allocations: 111.5 kB / 0.8166 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009695/0.5924, allocations: 0.6335 MB / 0.8172 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5925, allocations: 0 / 0.8172 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5925, allocations: 0 / 0.8172 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.5925, allocations: 0 / 0.8172 GB, free: 4.359 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.001133/0.5936, allocations: 0.5851 MB / 0.8177 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5937, allocations: 8.031 kB / 0.8177 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/0.5937, allocations: 58.72 kB / 0.8178 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.5949, allocations: 140.5 kB / 0.8179 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.5951, allocations: 227.8 kB / 0.8182 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.5952, allocations: 12.38 kB / 0.8182 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.5952, allocations: 20 kB / 0.8182 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.5957, allocations: 334.3 kB / 0.8185 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5957, allocations: 4 kB / 0.8185 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.5958, allocations: 12 kB / 0.8185 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.5958, allocations: 15.98 kB / 0.8185 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.5963, allocations: 316.1 kB / 0.8188 GB, free: 2.539 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.001615/0.5979, allocations: 1.113 MB / 0.8199 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/0.5984, allocations: 189.4 kB / 0.8201 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.5986, allocations: 92.73 kB / 0.8202 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005467/0.5991, allocations: 453.5 kB / 0.8206 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.5992, allocations: 38.47 kB / 0.8207 GB, free: 476 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=21): time 2.945e-06/0.5992, allocations: 0 / 0.8207 GB, free: 476 kB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.0006586/0.5999, allocations: 262.8 kB / 0.8209 GB, free: 208 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5999, allocations: 59.39 kB / 0.821 GB, free: 136 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.6001, allocations: 203.1 kB / 0.8212 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.6002, allocations: 25.7 kB / 0.8212 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.6003, allocations: 148 kB / 0.8213 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.6003, allocations: 74.95 kB / 0.8214 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.822e-05/0.6004, allocations: 53.61 kB / 0.8215 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6005, allocations: 330.8 kB / 0.8218 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.6007, allocations: 72.22 kB / 0.8218 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.6009, allocations: 166.6 kB / 0.822 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.6012, allocations: 249.5 kB / 0.8222 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6012, allocations: 11.81 kB / 0.8222 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004784/0.6017, allocations: 286.4 kB / 0.8225 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6017, allocations: 4 kB / 0.8225 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6017, allocations: 4 kB / 0.8225 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.6017, allocations: 7.938 kB / 0.8225 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.602, allocations: 63.91 kB / 0.8226 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.602, allocations: 4.375 kB / 0.8226 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.6022, allocations: 27.69 kB / 0.8226 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.6022, allocations: 12 kB / 0.8226 GB, free: 14.31 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.0001153/0.6024, allocations: 139.3 kB / 0.8228 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6025, allocations: 31.7 kB / 0.8228 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/0.603, allocations: 279.2 kB / 0.8231 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.603, allocations: 0 / 0.8231 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.603, allocations: 4 kB / 0.8231 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.603, allocations: 0 / 0.8231 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.6037, allocations: 0.5883 MB / 0.8236 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6037, allocations: 0 / 0.8236 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.6039, allocations: 39.92 kB / 0.8237 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6039, allocations: 0 / 0.8237 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.6039, allocations: 8 kB / 0.8237 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6039, allocations: 0 / 0.8237 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6039, allocations: 4 kB / 0.8237 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.6044, allocations: 360 kB / 0.824 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.6046, allocations: 120.8 kB / 0.8242 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.6046, allocations: 0 / 0.8242 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.6049, allocations: 15.98 kB / 0.8242 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.6049, allocations: 11.98 kB / 0.8242 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.6049, allocations: 19.98 kB / 0.8242 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001187/0.6051, allocations: 144.3 kB / 0.8243 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6051, allocations: 0 / 0.8243 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004843/0.6055, allocations: 123.9 kB / 0.8245 GB, free: 12.34 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.00106/0.6066, allocations: 0.9831 MB / 0.8254 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.607, allocations: 214.2 kB / 0.8256 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.607, allocations: 4 kB / 0.8256 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.6072, allocations: 103.9 kB / 0.8257 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.6078, allocations: 94.38 kB / 0.8258 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.6106, allocations: 2.491 MB / 0.8282 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.6109, allocations: 0.7366 MB / 0.829 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.6112, allocations: 58.25 kB / 0.829 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.6113, allocations: 59.42 kB / 0.8291 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/0.6113, allocations: 7.938 kB / 0.8291 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.6345, allocations: 7.712 MB / 0.8366 GB, free: 15.79 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/8.204, allocations: 19.98 kB / 0.8366 GB, free: 15.77 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)