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.004816/0.004816, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001275/0.001275, allocations: 201.2 kB / 16.68 MB, free: 5.973 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9819/0.9819, allocations: 135.5 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003152/0.003152, allocations: 71.89 kB / 0.5858 GB, free: 3.086 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4271, allocations: 81.03 MB / 0.6649 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1706/0.5977, allocations: 149.1 MB / 0.8105 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0048/0.6026, allocations: 3.617 MB / 0.814 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.6027, allocations: 0 / 0.814 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.6031, allocations: 67.56 kB / 0.8141 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.6035, allocations: 135.2 kB / 0.8142 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.606, allocations: 1.006 MB / 0.8152 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.6065, allocations: 327.6 kB / 0.8155 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.6065, allocations: 13.56 kB / 0.8155 GB, free: 6 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.607, allocations: 191.1 kB / 0.8157 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.6072, allocations: 131.5 kB / 0.8159 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.6072, allocations: 8 kB / 0.8159 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.6099, allocations: 1.224 MB / 0.8171 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.6101, allocations: 71.78 kB / 0.8171 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.6103, allocations: 103.5 kB / 0.8172 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.6121, allocations: 0.6357 MB / 0.8178 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.6121, allocations: 0 / 0.8178 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6121, allocations: 0 / 0.8178 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.6122, allocations: 0 / 0.8178 GB, free: 3.645 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.001366/0.6135, allocations: 0.6073 MB / 0.8184 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.6136, allocations: 12.03 kB / 0.8184 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.6137, allocations: 58.72 kB / 0.8185 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.6149, allocations: 132.7 kB / 0.8186 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.6152, allocations: 219.9 kB / 0.8188 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.6153, allocations: 16.36 kB / 0.8189 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.6153, allocations: 16 kB / 0.8189 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.6159, allocations: 342.3 kB / 0.8192 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6159, allocations: 0 / 0.8192 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.616, allocations: 8 kB / 0.8192 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/0.616, allocations: 19.98 kB / 0.8192 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005824/0.6166, allocations: 316.1 kB / 0.8195 GB, free: 1.809 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.001764/0.6184, allocations: 1.117 MB / 0.8206 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.6189, allocations: 186.5 kB / 0.8208 GB, free: 416 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.619, allocations: 88.72 kB / 0.8209 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006107/0.6197, allocations: 465.4 kB / 0.8213 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.6197, allocations: 38.56 kB / 0.8214 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.6197, allocations: 0 / 0.8214 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.0007352/0.6205, allocations: 255.6 kB / 0.8216 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.6205, allocations: 55.41 kB / 0.8217 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.6207, allocations: 207.1 kB / 0.8219 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.6208, allocations: 33.7 kB / 0.8219 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.6209, allocations: 148.3 kB / 0.822 GB, free: 15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.621, allocations: 75.33 kB / 0.8221 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/0.6211, allocations: 57.67 kB / 0.8222 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6213, allocations: 330.8 kB / 0.8225 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.6214, allocations: 76.16 kB / 0.8225 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.6216, allocations: 159.3 kB / 0.8227 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.622, allocations: 252.4 kB / 0.8229 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.622, allocations: 3.938 kB / 0.8229 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005644/0.6226, allocations: 282 kB / 0.8232 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6226, allocations: 11.94 kB / 0.8232 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.6226, allocations: 0 / 0.8232 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.6227, allocations: 12.31 kB / 0.8232 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.6229, allocations: 59.91 kB / 0.8233 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.623, allocations: 7.938 kB / 0.8233 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.6232, allocations: 35.73 kB / 0.8233 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.6232, allocations: 19.98 kB / 0.8233 GB, free: 13.55 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.0001445/0.6234, allocations: 137.7 kB / 0.8235 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.6235, allocations: 23.89 kB / 0.8235 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.6241, allocations: 275.4 kB / 0.8238 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.6241, allocations: 8 kB / 0.8238 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6241, allocations: 0 / 0.8238 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6241, allocations: 0 / 0.8238 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008353/0.625, allocations: 0.5896 MB / 0.8243 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.625, allocations: 4 kB / 0.8244 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.6252, allocations: 31.92 kB / 0.8244 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.6252, allocations: 4 kB / 0.8244 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.6252, allocations: 4 kB / 0.8244 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.6252, allocations: 8.062 kB / 0.8244 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6252, allocations: 0 / 0.8244 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.6258, allocations: 348.8 kB / 0.8247 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.626, allocations: 116.9 kB / 0.8248 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.626, allocations: 4 kB / 0.8248 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.6263, allocations: 19.98 kB / 0.8249 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.6263, allocations: 7.984 kB / 0.8249 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.6264, allocations: 19.98 kB / 0.8249 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001459/0.6265, allocations: 149.4 kB / 0.825 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6265, allocations: 0 / 0.825 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005194/0.627, allocations: 123.8 kB / 0.8252 GB, free: 11.59 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.001255/0.6283, allocations: 0.9883 MB / 0.8261 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.6287, allocations: 210.1 kB / 0.8263 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6287, allocations: 0 / 0.8263 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.6289, allocations: 103.7 kB / 0.8264 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.6296, allocations: 100.7 kB / 0.8265 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.6327, allocations: 2.508 MB / 0.829 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.6331, allocations: 0.7405 MB / 0.8297 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002536/0.6334, allocations: 58.25 kB / 0.8297 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.6335, allocations: 55.42 kB / 0.8298 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.6335, allocations: 0 / 0.8298 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.6651, allocations: 7.717 MB / 0.8373 GB, free: 15.03 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.836, allocations: 13.36 kB / 0.8373 GB, free: 15.02 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1)