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.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/package.mo", uses=false) 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.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_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_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.007157/0.007157, allocations: 97.14 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.001859/0.001859, allocations: 202.2 kB / 16.68 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8146/0.8146, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.89 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3977, allocations: 80.19 MB / 0.6592 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1886/0.5863, allocations: 149.1 MB / 0.8048 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.004868/0.5912, allocations: 3.61 MB / 0.8084 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.5914, allocations: 4 kB / 0.8084 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.5918, allocations: 59.64 kB / 0.8084 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.5922, allocations: 131.2 kB / 0.8086 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.5949, allocations: 1.021 MB / 0.8096 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.5954, allocations: 315.6 kB / 0.8099 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.5955, allocations: 17.56 kB / 0.8099 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003845/0.5959, allocations: 191.2 kB / 0.8101 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.5961, allocations: 127.6 kB / 0.8102 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.5961, allocations: 8 kB / 0.8102 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.5984, allocations: 1.22 MB / 0.8114 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.5985, allocations: 67.78 kB / 0.8114 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.5987, allocations: 115.5 kB / 0.8115 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.5999, allocations: 0.6462 MB / 0.8122 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5999, allocations: 0 / 0.8122 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5999, allocations: 0 / 0.8122 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5999, allocations: 0 / 0.8122 GB, free: 9.047 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.001172/0.6011, allocations: 0.5957 MB / 0.8128 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.6011, allocations: 8.031 kB / 0.8128 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.799e-05/0.6012, allocations: 54.73 kB / 0.8128 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.6024, allocations: 136.7 kB / 0.8129 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.6027, allocations: 223.9 kB / 0.8132 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.6028, allocations: 20.38 kB / 0.8132 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.6028, allocations: 19.94 kB / 0.8132 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.6034, allocations: 331.5 kB / 0.8135 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.6034, allocations: 0 / 0.8135 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.6035, allocations: 8 kB / 0.8135 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.6035, allocations: 19.92 kB / 0.8135 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.6041, allocations: 324.1 kB / 0.8139 GB, free: 7.215 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.00172/0.6058, allocations: 1.11 MB / 0.8149 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.6064, allocations: 194.4 kB / 0.8151 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.6065, allocations: 84.75 kB / 0.8152 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000616/0.6072, allocations: 453.5 kB / 0.8156 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.6072, allocations: 38.55 kB / 0.8157 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/0.6072, allocations: 3.938 kB / 0.8157 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.0007157/0.6079, allocations: 266.6 kB / 0.8159 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.608, allocations: 55.41 kB / 0.816 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.6083, allocations: 208.2 kB / 0.8162 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.6083, allocations: 29.7 kB / 0.8162 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.6084, allocations: 144.3 kB / 0.8163 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.6085, allocations: 87.3 kB / 0.8164 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/0.6086, allocations: 49.7 kB / 0.8165 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6088, allocations: 326.8 kB / 0.8168 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.6089, allocations: 72.22 kB / 0.8169 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.6091, allocations: 160.8 kB / 0.817 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.6095, allocations: 253.7 kB / 0.8173 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6095, allocations: 3.938 kB / 0.8173 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005475/0.61, allocations: 281.5 kB / 0.8175 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6101, allocations: 11.88 kB / 0.8175 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6101, allocations: 4 kB / 0.8175 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.6101, allocations: 7.938 kB / 0.8175 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.6104, allocations: 55.92 kB / 0.8176 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.6104, allocations: 11.98 kB / 0.8176 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.6106, allocations: 35.73 kB / 0.8176 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.6107, allocations: 8 kB / 0.8177 GB, free: 2.98 MB / 0.6387 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.0001407/0.6108, allocations: 146.5 kB / 0.8178 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.6109, allocations: 23.91 kB / 0.8178 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.6115, allocations: 284 kB / 0.8181 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.6115, allocations: 3.984 kB / 0.8181 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6115, allocations: 0 / 0.8181 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6115, allocations: 4 kB / 0.8181 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008107/0.6123, allocations: 0.5751 MB / 0.8187 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6123, allocations: 4.062 kB / 0.8187 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.6125, allocations: 35.98 kB / 0.8187 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6126, allocations: 0 / 0.8187 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.6126, allocations: 4 kB / 0.8187 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.6126, allocations: 0 / 0.8187 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6126, allocations: 3.938 kB / 0.8187 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.6132, allocations: 362.3 kB / 0.819 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.6133, allocations: 124.9 kB / 0.8192 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.6134, allocations: 8 kB / 0.8192 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.6136, allocations: 8 kB / 0.8192 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.6136, allocations: 11.98 kB / 0.8192 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.6137, allocations: 15.98 kB / 0.8192 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00015/0.6138, allocations: 148.3 kB / 0.8194 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6138, allocations: 7.938 kB / 0.8194 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004906/0.6143, allocations: 123.7 kB / 0.8195 GB, free: 1.008 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.001231/0.6156, allocations: 0.9884 MB / 0.8204 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004053/0.616, allocations: 207.6 kB / 0.8206 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.616, allocations: 0.75 kB / 0.8206 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.6162, allocations: 107.8 kB / 0.8207 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.6168, allocations: 98.31 kB / 0.8208 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.6201, allocations: 2.498 MB / 0.8233 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.6206, allocations: 0.7406 MB / 0.824 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002724/0.6209, allocations: 54.25 kB / 0.8241 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.621, allocations: 55.42 kB / 0.8241 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.621, allocations: 0 / 0.8241 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.6525, allocations: 7.719 MB / 0.8316 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.599/9.252, allocations: 8.109 kB / 0.8317 GB, free: 4.48 MB / 0.6544 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)