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.00111/0.00111, 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.001109/0.001109, allocations: 193.4 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.939/0.939, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 60.5 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1447, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.3651/0.5099, allocations: 149.1 MB / 0.73 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004483/0.5145, allocations: 3.617 MB / 0.7336 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.5147, allocations: 5.062 kB / 0.7336 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.515, allocations: 61.36 kB / 0.7336 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.5154, allocations: 134.6 kB / 0.7338 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.519, allocations: 1.011 MB / 0.7347 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.5195, allocations: 316.9 kB / 0.735 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.5196, allocations: 12 kB / 0.7351 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.5202, allocations: 195.3 kB / 0.7352 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.5205, allocations: 131.6 kB / 0.7354 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.5206, allocations: 10.62 kB / 0.7354 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.5236, allocations: 1.218 MB / 0.7366 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.5237, allocations: 71.91 kB / 0.7366 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.524, allocations: 110.4 kB / 0.7367 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.5257, allocations: 0.635 MB / 0.7374 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5257, allocations: 2.25 kB / 0.7374 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5257, allocations: 1.062 kB / 0.7374 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.5258, allocations: 0 / 0.7374 GB, free: 12.53 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.001617/0.5274, allocations: 0.5892 MB / 0.7379 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5275, allocations: 13.88 kB / 0.738 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.242e-05/0.5276, allocations: 59.31 kB / 0.738 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.5296, allocations: 132.2 kB / 0.7381 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.53, allocations: 222.5 kB / 0.7384 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.53, allocations: 20.91 kB / 0.7384 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.5301, allocations: 17.28 kB / 0.7384 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007974/0.5309, allocations: 334.2 kB / 0.7387 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5309, allocations: 0 / 0.7387 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.531, allocations: 11.59 kB / 0.7387 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/0.531, allocations: 15.42 kB / 0.7387 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/0.5318, allocations: 322.8 kB / 0.739 GB, free: 11.31 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.002229/0.5341, allocations: 1.114 MB / 0.7401 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.5348, allocations: 188.7 kB / 0.7403 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.5351, allocations: 79.22 kB / 0.7404 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/0.5358, allocations: 464.7 kB / 0.7408 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.5359, allocations: 42.84 kB / 0.7409 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 2.425e-06/0.5359, allocations: 0 / 0.7409 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.001075/0.537, allocations: 263.4 kB / 0.7411 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.5371, allocations: 52.78 kB / 0.7412 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.5374, allocations: 199.7 kB / 0.7414 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.5374, allocations: 32.45 kB / 0.7414 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.5376, allocations: 148.1 kB / 0.7415 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/0.5377, allocations: 80.55 kB / 0.7416 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.5378, allocations: 50.33 kB / 0.7417 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.538, allocations: 327 kB / 0.742 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.5382, allocations: 70.84 kB / 0.742 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.5385, allocations: 168.7 kB / 0.7422 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.539, allocations: 245.7 kB / 0.7424 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.5391, allocations: 5.344 kB / 0.7424 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008179/0.5399, allocations: 290.5 kB / 0.7427 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.5399, allocations: 6.125 kB / 0.7427 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.5399, allocations: 4.281 kB / 0.7427 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.54, allocations: 11.3 kB / 0.7427 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.5404, allocations: 61.61 kB / 0.7428 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.5404, allocations: 7.797 kB / 0.7428 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.5408, allocations: 27.94 kB / 0.7428 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.5408, allocations: 19.53 kB / 0.7428 GB, free: 8.133 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.0001865/0.541, allocations: 135.3 kB / 0.743 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.5413, allocations: 20.16 kB / 0.743 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007018/0.542, allocations: 279.6 kB / 0.7433 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.542, allocations: 5.438 kB / 0.7433 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.542, allocations: 1.438 kB / 0.7433 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.542, allocations: 0 / 0.7433 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.5432, allocations: 0.5869 MB / 0.7438 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5432, allocations: 0 / 0.7438 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.5435, allocations: 36.36 kB / 0.7439 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5435, allocations: 64 / 0.7439 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.5435, allocations: 10.09 kB / 0.7439 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.5435, allocations: 3.594 kB / 0.7439 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5435, allocations: 0 / 0.7439 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.5443, allocations: 351.3 kB / 0.7442 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.5445, allocations: 122.3 kB / 0.7443 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.5446, allocations: 10 kB / 0.7443 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.545, allocations: 5.688 kB / 0.7444 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.545, allocations: 15.33 kB / 0.7444 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.5451, allocations: 11.77 kB / 0.7444 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001817/0.5453, allocations: 155.9 kB / 0.7445 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.62e-07/0.5453, allocations: 0 / 0.7445 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008649/0.5462, allocations: 113.3 kB / 0.7446 GB, free: 6.832 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.00156/0.5477, allocations: 0.9947 MB / 0.7456 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005662/0.5483, allocations: 227.7 kB / 0.7458 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5483, allocations: 0 / 0.7458 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.5486, allocations: 106.4 kB / 0.7459 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.5496, allocations: 99.84 kB / 0.746 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.5538, allocations: 2.478 MB / 0.7484 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.5542, allocations: 0.7389 MB / 0.7492 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005013/0.5547, allocations: 56 kB / 0.7492 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.5549, allocations: 59.84 kB / 0.7493 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.5549, allocations: 0 / 0.7493 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.5883, allocations: 7.653 MB / 0.7567 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/8.046, allocations: 13.09 kB / 0.7568 GB, free: 11.9 MB / 0.5762 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)