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.001578/0.001578, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001045/0.001045, allocations: 197.4 kB / 16.14 MB, free: 6.664 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6707/0.6707, allocations: 132.2 MB / 422.1 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 55.75 kB / 0.5012 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3826, allocations: 80.2 MB / 0.5795 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.152/0.5346, allocations: 146.8 MB / 0.7229 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003556/0.5382, allocations: 3.676 MB / 0.7265 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.5383, allocations: 0 / 0.7265 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.5386, allocations: 63.69 kB / 0.7265 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.5388, allocations: 119.4 kB / 0.7266 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.5407, allocations: 0.9476 MB / 0.7276 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.5411, allocations: 499.4 kB / 0.728 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.5411, allocations: 17.55 kB / 0.7281 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.5414, allocations: 167.3 kB / 0.7282 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.5416, allocations: 147.5 kB / 0.7284 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.5416, allocations: 8 kB / 0.7284 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.5437, allocations: 1.531 MB / 0.7299 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.5437, allocations: 63.84 kB / 0.7299 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.5439, allocations: 107.5 kB / 0.73 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009625/0.5448, allocations: 0.7424 MB / 0.7308 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.5448, allocations: 0 / 0.7308 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.31e-07/0.5449, allocations: 0 / 0.7308 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.5449, allocations: 4 kB / 0.7308 GB, free: 6.324 MB / 0.5606 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.001058/0.5459, allocations: 0.5811 MB / 0.7313 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.546, allocations: 8.031 kB / 0.7313 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.627e-05/0.546, allocations: 66.66 kB / 0.7314 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.5472, allocations: 132.6 kB / 0.7315 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.5474, allocations: 223.8 kB / 0.7317 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.5474, allocations: 20.36 kB / 0.7318 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.5474, allocations: 20 kB / 0.7318 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.5479, allocations: 331.2 kB / 0.7321 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.548, allocations: 4 kB / 0.7321 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.548, allocations: 8 kB / 0.7321 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.548, allocations: 19.92 kB / 0.7321 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.5485, allocations: 324.1 kB / 0.7324 GB, free: 4.496 MB / 0.5606 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.001414/0.5499, allocations: 1.117 MB / 0.7335 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.5504, allocations: 182.5 kB / 0.7337 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.5505, allocations: 84.75 kB / 0.7338 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004771/0.551, allocations: 461.5 kB / 0.7342 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.551, allocations: 38.56 kB / 0.7343 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.5511, allocations: 0 / 0.7343 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0006075/0.5517, allocations: 266.9 kB / 0.7345 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.5517, allocations: 55.41 kB / 0.7346 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.5519, allocations: 204.3 kB / 0.7348 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.5519, allocations: 33.7 kB / 0.7348 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.552, allocations: 143.9 kB / 0.7349 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.552, allocations: 66.95 kB / 0.735 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.5521, allocations: 57.7 kB / 0.735 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.5522, allocations: 326.8 kB / 0.7354 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.5523, allocations: 76.22 kB / 0.7354 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.5525, allocations: 156.8 kB / 0.7356 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.5528, allocations: 255.5 kB / 0.7358 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.5528, allocations: 7.938 kB / 0.7358 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004566/0.5533, allocations: 282 kB / 0.7361 GB, free: 404 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5533, allocations: 8 kB / 0.7361 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.5533, allocations: 7.938 kB / 0.7361 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5533, allocations: 7.938 kB / 0.7361 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.5536, allocations: 59.91 kB / 0.7362 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.5536, allocations: 4 kB / 0.7362 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.5538, allocations: 32.06 kB / 0.7362 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.5538, allocations: 12 kB / 0.7362 GB, free: 272 kB / 0.5606 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.0001054/0.554, allocations: 139.3 kB / 0.7364 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.5541, allocations: 27.78 kB / 0.7364 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.5545, allocations: 283.1 kB / 0.7367 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.5545, allocations: 7.984 kB / 0.7367 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5545, allocations: 4 kB / 0.7367 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5545, allocations: 0 / 0.7367 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.5552, allocations: 0.5855 MB / 0.7372 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5552, allocations: 3.984 kB / 0.7372 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.5554, allocations: 35.98 kB / 0.7373 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5554, allocations: 0 / 0.7373 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.5554, allocations: 4 kB / 0.7373 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5554, allocations: 3.938 kB / 0.7373 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5554, allocations: 4.062 kB / 0.7373 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.5559, allocations: 350.3 kB / 0.7376 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.556, allocations: 120.8 kB / 0.7377 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.556, allocations: 4 kB / 0.7377 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.5563, allocations: 19.98 kB / 0.7378 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.5563, allocations: 15.92 kB / 0.7378 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.5564, allocations: 15.98 kB / 0.7378 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001041/0.5565, allocations: 148.3 kB / 0.7379 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5565, allocations: 0 / 0.7379 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004364/0.5569, allocations: 116 kB / 0.738 GB, free: 14.29 MB / 0.5762 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.0009385/0.5579, allocations: 0.9953 MB / 0.739 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.5582, allocations: 197 kB / 0.7392 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5582, allocations: 4 kB / 0.7392 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.5583, allocations: 107.8 kB / 0.7393 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.5589, allocations: 95.73 kB / 0.7394 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.5614, allocations: 2.55 MB / 0.7419 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.5617, allocations: 0.7444 MB / 0.7426 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002838/0.5619, allocations: 58.23 kB / 0.7427 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.5621, allocations: 59.41 kB / 0.7427 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.5621, allocations: 0 / 0.7427 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4941/1.056, allocations: 7.363 MB / 0.7499 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/1.056, allocations: 171 kB / 0.7501 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/3.083, allocations: 0 / 0.7501 GB, free: 1.82 MB / 0.5762 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)