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.00158/0.00158, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.002021/0.00202, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.146/2.146, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.593/1.593, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006695/0.0006694, allocations: 12 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3136, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.957/1.271, allocations: 125.9 MB / 0.7102 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007247/1.278, allocations: 3.025 MB / 0.7131 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004057/1.279, allocations: 1.031 kB / 0.7131 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004938/1.279, allocations: 46.64 kB / 0.7132 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006203/1.28, allocations: 93.89 kB / 0.7133 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004431/1.284, allocations: 0.6725 MB / 0.7139 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006653/1.285, allocations: 191.3 kB / 0.7141 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/1.285, allocations: 13.78 kB / 0.7141 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006263/1.286, allocations: 157.3 kB / 0.7143 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/1.286, allocations: 95.34 kB / 0.7144 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/1.286, allocations: 8.438 kB / 0.7144 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/1.289, allocations: 0.6902 MB / 0.7151 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000202/1.289, allocations: 66.75 kB / 0.7151 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/1.29, allocations: 63.7 kB / 0.7152 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/1.291, allocations: 375.4 kB / 0.7155 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.291, allocations: 0 / 0.7155 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.565e-06/1.291, allocations: 0 / 0.7155 GB, free: 15.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.291, allocations: 0 / 0.7155 GB, free: 15.55 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.001963/1.293, allocations: 0.5401 MB / 0.7161 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.595e-05/1.293, allocations: 14.28 kB / 0.7161 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/1.294, allocations: 59.62 kB / 0.7161 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/1.295, allocations: 135.7 kB / 0.7163 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/1.296, allocations: 219.3 kB / 0.7165 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/1.296, allocations: 15.97 kB / 0.7165 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/1.296, allocations: 22.47 kB / 0.7165 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/1.297, allocations: 329.5 kB / 0.7168 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.297, allocations: 0 / 0.7168 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/1.297, allocations: 11.23 kB / 0.7168 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-05/1.297, allocations: 18.33 kB / 0.7169 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/1.298, allocations: 328.6 kB / 0.7172 GB, free: 14.53 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.003569/1.301, allocations: 1.103 MB / 0.7182 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.302, allocations: 198.9 kB / 0.7184 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.304, allocations: 457.7 kB / 0.7189 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/1.304, allocations: 38.03 kB / 0.7189 GB, free: 13.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 3.837e-06/1.304, allocations: 0 / 0.7189 GB, free: 13.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.001551/1.305, allocations: 346.7 kB / 0.7192 GB, free: 12.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/1.305, allocations: 54.45 kB / 0.7193 GB, free: 12.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/1.306, allocations: 203.4 kB / 0.7195 GB, free: 12.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/1.306, allocations: 32.3 kB / 0.7195 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/1.306, allocations: 143.2 kB / 0.7196 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/1.306, allocations: 74.75 kB / 0.7197 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/1.306, allocations: 5.062 kB / 0.7197 GB, free: 12.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002363/1.307, allocations: 325.2 kB / 0.72 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/1.307, allocations: 76.22 kB / 0.7201 GB, free: 12.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/1.307, allocations: 154.6 kB / 0.7203 GB, free: 12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/1.308, allocations: 89.58 kB / 0.7203 GB, free: 11.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.308, allocations: 1.5 kB / 0.7203 GB, free: 11.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001155/1.309, allocations: 281.6 kB / 0.7206 GB, free: 11.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/1.309, allocations: 5.75 kB / 0.7206 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/1.309, allocations: 4.984 kB / 0.7206 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/1.309, allocations: 4.562 kB / 0.7206 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/1.31, allocations: 59.02 kB / 0.7207 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/1.31, allocations: 9.281 kB / 0.7207 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/1.31, allocations: 38.27 kB / 0.7207 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/1.31, allocations: 12.27 kB / 0.7207 GB, free: 11.83 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.0003282/1.311, allocations: 143.9 kB / 0.7209 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/1.311, allocations: 23.22 kB / 0.7209 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/1.312, allocations: 267 kB / 0.7212 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.312, allocations: 6.641 kB / 0.7212 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.312, allocations: 1.312 kB / 0.7212 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/1.312, allocations: 5.062 kB / 0.7212 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/1.314, allocations: 0.5848 MB / 0.7217 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/1.314, allocations: 0 / 0.7217 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/1.315, allocations: 30.86 kB / 0.7218 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/1.315, allocations: 4.062 kB / 0.7218 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/1.315, allocations: 7.078 kB / 0.7218 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/1.315, allocations: 5.312 kB / 0.7218 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/1.315, allocations: 5.641 kB / 0.7218 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.316, allocations: 368.5 kB / 0.7221 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/1.316, allocations: 128.3 kB / 0.7223 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.301e-05/1.316, allocations: 6 kB / 0.7223 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/1.317, allocations: 16.83 kB / 0.7223 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/1.317, allocations: 10.2 kB / 0.7223 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/1.317, allocations: 15.75 kB / 0.7223 GB, free: 10.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002971/1.317, allocations: 149.4 kB / 0.7224 GB, free: 10.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.51e-07/1.317, allocations: 0 / 0.7224 GB, free: 10.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001229/1.319, allocations: 112.7 kB / 0.7226 GB, free: 10.67 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.002516/1.321, allocations: 1.15 MB / 0.7237 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009304/1.322, allocations: 208.7 kB / 0.7239 GB, free: 9.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.322, allocations: 3.062 kB / 0.7239 GB, free: 9.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003062/1.322, allocations: 99.55 kB / 0.724 GB, free: 9.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/1.324, allocations: 90.25 kB / 0.7241 GB, free: 9.617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005961/1.33, allocations: 3.147 MB / 0.7271 GB, free: 7.012 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/1.33, allocations: 0.7464 MB / 0.7279 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007964/1.331, allocations: 55.89 kB / 0.7279 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/1.331, allocations: 59.89 kB / 0.728 GB, free: 6.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.104e-06/1.332, allocations: 0 / 0.728 GB, free: 6.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07498/1.407, allocations: 7.088 MB / 0.7349 GB, free: 4.797 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000338/1.407, allocations: 155.7 kB / 0.735 GB, free: 4.559 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/3.301, allocations: 3.938 kB / 0.735 GB, free: 4.555 MB / 0.545 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: