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.001074/0.001074, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 193 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8551/0.8551, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.69 kB / 0.5019 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 80.2 MB / 0.5802 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.3836/0.5247, allocations: 149.1 MB / 0.7258 GB, free: 5.453 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003975/0.5287, allocations: 3.615 MB / 0.7293 GB, free: 2.922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.5288, allocations: 2.188 kB / 0.7293 GB, free: 2.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.5291, allocations: 61.53 kB / 0.7294 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.5294, allocations: 130.7 kB / 0.7295 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.5317, allocations: 1.009 MB / 0.7305 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.532, allocations: 321.9 kB / 0.7308 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.5321, allocations: 13.42 kB / 0.7308 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003418/0.5324, allocations: 189.9 kB / 0.731 GB, free: 2.102 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.5326, allocations: 130 kB / 0.7311 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.5326, allocations: 10.97 kB / 0.7311 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.5345, allocations: 1.222 MB / 0.7323 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.635e-05/0.5346, allocations: 68.05 kB / 0.7324 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.5348, allocations: 110.4 kB / 0.7325 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.5357, allocations: 0.635 MB / 0.7331 GB, free: 1.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5357, allocations: 5.031 kB / 0.7331 GB, free: 1.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5357, allocations: 0 / 0.7331 GB, free: 1.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5357, allocations: 0 / 0.7331 GB, free: 1.266 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.001038/0.5368, allocations: 0.5854 MB / 0.7337 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.5368, allocations: 13.97 kB / 0.7337 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.978e-05/0.5369, allocations: 60.83 kB / 0.7337 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.5381, allocations: 128.4 kB / 0.7339 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.5383, allocations: 220.1 kB / 0.7341 GB, free: 500 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.5383, allocations: 19.84 kB / 0.7341 GB, free: 488 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.5384, allocations: 19.08 kB / 0.7341 GB, free: 480 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.5389, allocations: 340 kB / 0.7344 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5389, allocations: 0 / 0.7344 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.539, allocations: 7.969 kB / 0.7344 GB, free: 320 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.539, allocations: 16 kB / 0.7345 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.5395, allocations: 320.9 kB / 0.7348 GB, free: 236 kB / 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.001524/0.541, allocations: 1.119 MB / 0.7359 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.5415, allocations: 188.5 kB / 0.736 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.5417, allocations: 84.58 kB / 0.7361 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/0.5422, allocations: 462.2 kB / 0.7366 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.5422, allocations: 39.53 kB / 0.7366 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.5422, allocations: 0 / 0.7366 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0006215/0.5429, allocations: 254.7 kB / 0.7368 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.5429, allocations: 53.84 kB / 0.7369 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.5431, allocations: 202.8 kB / 0.7371 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.5431, allocations: 32.23 kB / 0.7371 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.5432, allocations: 147.7 kB / 0.7373 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.5433, allocations: 86.64 kB / 0.7373 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.5434, allocations: 54.8 kB / 0.7374 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5435, allocations: 331.7 kB / 0.7377 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.5436, allocations: 70 kB / 0.7378 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.5438, allocations: 157.4 kB / 0.7379 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.5441, allocations: 245.7 kB / 0.7382 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5441, allocations: 6.766 kB / 0.7382 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004939/0.5446, allocations: 280.2 kB / 0.7384 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5446, allocations: 5.047 kB / 0.7384 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5446, allocations: 7.5 kB / 0.7384 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5447, allocations: 9.281 kB / 0.7385 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.5449, allocations: 62.25 kB / 0.7385 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5449, allocations: 10.75 kB / 0.7385 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.5452, allocations: 27.5 kB / 0.7385 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.5452, allocations: 13.27 kB / 0.7386 GB, free: 13.3 MB / 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.0001146/0.5453, allocations: 138.5 kB / 0.7387 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.5454, allocations: 25.86 kB / 0.7387 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.5459, allocations: 281.4 kB / 0.739 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.5459, allocations: 14.19 kB / 0.739 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5459, allocations: 0 / 0.739 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.546, allocations: 0 / 0.739 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.5467, allocations: 0.5804 MB / 0.7396 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.5467, allocations: 0 / 0.7396 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.5469, allocations: 34.45 kB / 0.7396 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5469, allocations: 2.656 kB / 0.7396 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.5469, allocations: 1.344 kB / 0.7396 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5469, allocations: 5.531 kB / 0.7396 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5469, allocations: 1.25 kB / 0.7396 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.5474, allocations: 357.6 kB / 0.74 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.5476, allocations: 124.2 kB / 0.7401 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.5476, allocations: 6.625 kB / 0.7401 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.5479, allocations: 14.55 kB / 0.7401 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.5479, allocations: 13.83 kB / 0.7401 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.5479, allocations: 13.2 kB / 0.7401 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001179/0.5481, allocations: 152.2 kB / 0.7403 GB, free: 12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5481, allocations: 0 / 0.7403 GB, free: 12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005044/0.5486, allocations: 116.4 kB / 0.7404 GB, free: 11.98 MB / 0.5606 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.001033/0.5496, allocations: 0.9909 MB / 0.7413 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003891/0.55, allocations: 216.4 kB / 0.7415 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.55, allocations: 5.281 kB / 0.7416 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.5502, allocations: 107.2 kB / 0.7417 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.5508, allocations: 96.92 kB / 0.7417 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.5535, allocations: 2.488 MB / 0.7442 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.5538, allocations: 0.7407 MB / 0.7449 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000297/0.5541, allocations: 61.34 kB / 0.745 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.5542, allocations: 59.08 kB / 0.745 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.5542, allocations: 0 / 0.745 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.5802, allocations: 7.657 MB / 0.7525 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.947, allocations: 4.047 kB / 0.7525 GB, free: 1.84 MB / 0.5606 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)