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.0009167/0.0009169, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001061/0.001061, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003605, allocations: 8 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1938, allocations: 82.31 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.53/0.7239, allocations: 135.2 MB / 0.7195 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004261/0.7282, allocations: 3.337 MB / 0.7227 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.7284, allocations: 1 kB / 0.7227 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.7287, allocations: 41.47 kB / 0.7228 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.7292, allocations: 123.8 kB / 0.7229 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.7321, allocations: 0.6503 MB / 0.7235 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007229/0.7328, allocations: 413.5 kB / 0.7239 GB, free: 8.328 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.7329, allocations: 12.62 kB / 0.7239 GB, free: 8.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.7334, allocations: 167.8 kB / 0.7241 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.7336, allocations: 138 kB / 0.7242 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.7336, allocations: 8.344 kB / 0.7242 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.7357, allocations: 0.6697 MB / 0.7249 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.7359, allocations: 70.53 kB / 0.725 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.736, allocations: 64.36 kB / 0.725 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.737, allocations: 382.4 kB / 0.7254 GB, free: 7.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7371, allocations: 2.656 kB / 0.7254 GB, free: 7.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.248e-06/0.7371, allocations: 0 / 0.7254 GB, free: 7.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.7371, allocations: 0 / 0.7254 GB, free: 7.82 MB / 0.545 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.001277/0.7384, allocations: 0.5531 MB / 0.7259 GB, free: 7.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.7384, allocations: 8.969 kB / 0.7259 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.17e-05/0.7385, allocations: 59.62 kB / 0.726 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.7397, allocations: 140.6 kB / 0.7261 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.74, allocations: 211.2 kB / 0.7263 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.7401, allocations: 16.12 kB / 0.7263 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.7401, allocations: 18.73 kB / 0.7264 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.7409, allocations: 337.2 kB / 0.7267 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.7409, allocations: 2.062 kB / 0.7267 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.7409, allocations: 7.781 kB / 0.7267 GB, free: 6.879 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/0.741, allocations: 18.27 kB / 0.7267 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.7416, allocations: 318.8 kB / 0.727 GB, free: 6.797 MB / 0.545 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.001726/0.7433, allocations: 1.109 MB / 0.7281 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.7439, allocations: 190.5 kB / 0.7283 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.7441, allocations: 79.02 kB / 0.7283 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/0.7447, allocations: 457.2 kB / 0.7288 GB, free: 5.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.7447, allocations: 43.88 kB / 0.7288 GB, free: 5.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.923e-06/0.7448, allocations: 1.5 kB / 0.7288 GB, free: 5.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0007226/0.7455, allocations: 260.5 kB / 0.7291 GB, free: 5.223 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.7455, allocations: 60.72 kB / 0.7291 GB, free: 5.152 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.7458, allocations: 200.2 kB / 0.7293 GB, free: 5.023 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.7458, allocations: 32.67 kB / 0.7294 GB, free: 4.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.7459, allocations: 143.3 kB / 0.7295 GB, free: 4.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.746, allocations: 79.61 kB / 0.7296 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/0.746, allocations: 8 kB / 0.7296 GB, free: 4.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7462, allocations: 324.4 kB / 0.7299 GB, free: 4.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.7464, allocations: 72.77 kB / 0.73 GB, free: 4.453 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.7466, allocations: 164 kB / 0.7301 GB, free: 4.324 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.7468, allocations: 80.89 kB / 0.7302 GB, free: 4.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.7468, allocations: 9.922 kB / 0.7302 GB, free: 4.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005877/0.7474, allocations: 278 kB / 0.7305 GB, free: 4.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.7474, allocations: 5.875 kB / 0.7305 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.7474, allocations: 3.922 kB / 0.7305 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.7474, allocations: 4.875 kB / 0.7305 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.7477, allocations: 66.36 kB / 0.7305 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.7477, allocations: 4.344 kB / 0.7305 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.748, allocations: 34.89 kB / 0.7306 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.748, allocations: 11.62 kB / 0.7306 GB, free: 4.16 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.7482, allocations: 140.5 kB / 0.7307 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.7483, allocations: 23.38 kB / 0.7307 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005638/0.7489, allocations: 286.4 kB / 0.731 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.7489, allocations: 3.594 kB / 0.731 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.7489, allocations: 1.062 kB / 0.731 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.7489, allocations: 1.406 kB / 0.731 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.75, allocations: 0.5792 MB / 0.7316 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.75, allocations: 1.031 kB / 0.7316 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.7502, allocations: 43.27 kB / 0.7316 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.7502, allocations: 0.9375 kB / 0.7316 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.7502, allocations: 3.578 kB / 0.7316 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.7502, allocations: 5.203 kB / 0.7316 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7502, allocations: 1.688 kB / 0.7316 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.7508, allocations: 348.1 kB / 0.732 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.751, allocations: 122 kB / 0.7321 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.751, allocations: 11.09 kB / 0.7321 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.7512, allocations: 15.41 kB / 0.7321 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.7513, allocations: 14.34 kB / 0.7321 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.7513, allocations: 12.3 kB / 0.7321 GB, free: 3.141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001571/0.7515, allocations: 153 kB / 0.7323 GB, free: 3.043 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7515, allocations: 0 / 0.7323 GB, free: 3.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005799/0.7521, allocations: 117.9 kB / 0.7324 GB, free: 3.02 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/0.7532, allocations: 0.9726 MB / 0.7333 GB, free: 2.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.7537, allocations: 212.9 kB / 0.7336 GB, free: 2.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7537, allocations: 0 / 0.7336 GB, free: 2.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.7538, allocations: 100.2 kB / 0.7336 GB, free: 2.168 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.7545, allocations: 94.48 kB / 0.7337 GB, free: 2.145 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.7568, allocations: 1.34 MB / 0.735 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.7573, allocations: 0.741 MB / 0.7358 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000346/0.7576, allocations: 60.38 kB / 0.7358 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.7578, allocations: 55.58 kB / 0.7359 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.7578, allocations: 0 / 0.7359 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.7782, allocations: 7.112 MB / 0.7428 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.7784, allocations: 163.7 kB / 0.743 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.73, allocations: 3.938 kB / 0.743 GB, free: 13.18 MB / 0.5606 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/linux/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) Environment - environmentSimulation: