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.007078/0.007078, allocations: 97.62 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.001104/0.001104, allocations: 202.4 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.333/1.333, 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-master/package.mo): time 0.9231/0.9231, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 0.5852 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3697, allocations: 80.92 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1484/0.5182, allocations: 149.1 MB / 0.8098 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004184/0.5224, allocations: 3.617 MB / 0.8133 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.5225, allocations: 0 / 0.8133 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.5229, allocations: 59.64 kB / 0.8134 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.5233, allocations: 139.2 kB / 0.8135 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.5257, allocations: 1.039 MB / 0.8145 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.5261, allocations: 327.6 kB / 0.8149 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.5262, allocations: 9.562 kB / 0.8149 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.5265, allocations: 199.2 kB / 0.8151 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.5267, allocations: 127.5 kB / 0.8152 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.5268, allocations: 12 kB / 0.8152 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.5287, allocations: 1.224 MB / 0.8164 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.5288, allocations: 71.78 kB / 0.8165 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.5289, allocations: 111.5 kB / 0.8166 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009069/0.5298, allocations: 0.6356 MB / 0.8172 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5298, allocations: 0 / 0.8172 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5298, allocations: 0 / 0.8172 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.5298, allocations: 4 kB / 0.8172 GB, free: 4.395 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.001036/0.5309, allocations: 0.5957 MB / 0.8178 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5309, allocations: 12.03 kB / 0.8178 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.531, allocations: 58.67 kB / 0.8178 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.5321, allocations: 136.7 kB / 0.818 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.5324, allocations: 231.8 kB / 0.8182 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.5324, allocations: 12.38 kB / 0.8182 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.5325, allocations: 16 kB / 0.8182 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.533, allocations: 330.3 kB / 0.8185 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.533, allocations: 0 / 0.8185 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.5331, allocations: 16 kB / 0.8185 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.5331, allocations: 15.92 kB / 0.8186 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.5336, allocations: 324.1 kB / 0.8189 GB, free: 2.559 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.001506/0.5351, allocations: 1.098 MB / 0.8199 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.5356, allocations: 194.4 kB / 0.8201 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.5357, allocations: 86.25 kB / 0.8202 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.5362, allocations: 453.5 kB / 0.8206 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.5363, allocations: 46.55 kB / 0.8207 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=21): time 1.522e-06/0.5363, allocations: 0 / 0.8207 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.0006251/0.5369, allocations: 266.9 kB / 0.8209 GB, free: 232 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.537, allocations: 51.41 kB / 0.821 GB, free: 168 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.5372, allocations: 203.1 kB / 0.8212 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.5372, allocations: 33.7 kB / 0.8212 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.5373, allocations: 148.3 kB / 0.8214 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.5374, allocations: 79.25 kB / 0.8214 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.5374, allocations: 57.7 kB / 0.8215 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5375, allocations: 326.8 kB / 0.8218 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.5377, allocations: 68.22 kB / 0.8219 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.5379, allocations: 170.7 kB / 0.822 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.5382, allocations: 251.8 kB / 0.8223 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.5382, allocations: 3.938 kB / 0.8223 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004838/0.5387, allocations: 286.5 kB / 0.8225 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5387, allocations: 8 kB / 0.8226 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5387, allocations: 4 kB / 0.8226 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5387, allocations: 7.938 kB / 0.8226 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.539, allocations: 51.92 kB / 0.8226 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.539, allocations: 7.984 kB / 0.8226 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.5392, allocations: 36.11 kB / 0.8227 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.5392, allocations: 16 kB / 0.8227 GB, free: 14.32 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.0001222/0.5394, allocations: 143.2 kB / 0.8228 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.5395, allocations: 19.91 kB / 0.8228 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.54, allocations: 283.2 kB / 0.8231 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.54, allocations: 0 / 0.8231 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.54, allocations: 0 / 0.8231 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.54, allocations: 0 / 0.8231 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006901/0.5407, allocations: 0.5988 MB / 0.8237 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5407, allocations: 0 / 0.8237 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.5409, allocations: 31.98 kB / 0.8237 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5409, allocations: 0 / 0.8237 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.5409, allocations: 8 kB / 0.8237 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5409, allocations: 3.938 kB / 0.8237 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5409, allocations: 0 / 0.8237 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.5414, allocations: 356.2 kB / 0.8241 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.5416, allocations: 116.9 kB / 0.8242 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.5416, allocations: 8 kB / 0.8242 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.5419, allocations: 8 kB / 0.8242 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.5419, allocations: 11.98 kB / 0.8242 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.5419, allocations: 23.92 kB / 0.8242 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001096/0.542, allocations: 148.3 kB / 0.8244 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.542, allocations: 0 / 0.8244 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004504/0.5425, allocations: 123.8 kB / 0.8245 GB, free: 12.36 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.0009981/0.5435, allocations: 0.9869 MB / 0.8254 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.5439, allocations: 212.3 kB / 0.8256 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5439, allocations: 0 / 0.8256 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.544, allocations: 107.8 kB / 0.8257 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.5446, allocations: 102.9 kB / 0.8258 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.5473, allocations: 2.498 MB / 0.8283 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.5476, allocations: 0.7367 MB / 0.829 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.5478, allocations: 54.25 kB / 0.8291 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.548, allocations: 55.42 kB / 0.8291 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.548, allocations: 0 / 0.8291 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.5775, allocations: 7.728 MB / 0.8367 GB, free: 15.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.436, allocations: 11.36 kB / 0.8367 GB, free: 15.79 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)