Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2244/0.2244, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 85.44 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1089, allocations: 62.44 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3886/0.4975, allocations: 177.3 MB / 0.6421 GB, free: 1.699 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008079/0.5056, allocations: 5.331 MB / 0.6473 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.5063, allocations: 23.88 kB / 0.6473 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009744/0.5073, allocations: 310 kB / 0.6476 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.5107, allocations: 1.254 MB / 0.6489 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.5131, allocations: 0.9657 MB / 0.6498 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002379/0.5155, allocations: 1.848 MB / 0.6516 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007599/0.5163, allocations: 459.5 kB / 0.652 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.5187, allocations: 1.074 MB / 0.6531 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009692/0.5197, allocations: 0.6618 MB / 0.6537 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.5198, allocations: 60 kB / 0.6538 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.5213, allocations: 0.5813 MB / 0.6544 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.5216, allocations: 259.3 kB / 0.6546 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.5221, allocations: 402.2 kB / 0.655 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.524, allocations: 1.293 MB / 0.6563 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.524, allocations: 0 / 0.6563 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.524, allocations: 4 kB / 0.6563 GB, free: 3.172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.524, allocations: 0 / 0.6563 GB, free: 3.172 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002267/0.5263, allocations: 1.107 MB / 0.6573 GB, free: 2.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5264, allocations: 8.031 kB / 0.6573 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.5265, allocations: 94.52 kB / 0.6574 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008097/0.5273, allocations: 143.7 kB / 0.6576 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007962/0.5281, allocations: 0.504 MB / 0.6581 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.5283, allocations: 100.4 kB / 0.6582 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.724e-05/0.5284, allocations: 55.97 kB / 0.6582 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.5297, allocations: 0.8203 MB / 0.659 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.5297, allocations: 7.938 kB / 0.659 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/0.5298, allocations: 24 kB / 0.659 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-05/0.5299, allocations: 36.98 kB / 0.6591 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.531, allocations: 0.6282 MB / 0.6597 GB, free: 15.46 MB / 0.4981 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.005184/0.5362, allocations: 3.953 MB / 0.6636 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.5369, allocations: 349.9 kB / 0.6639 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.5372, allocations: 181.2 kB / 0.6641 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.5373, allocations: 97.3 kB / 0.6642 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.5374, allocations: 42.84 kB / 0.6642 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.415e-06/0.5374, allocations: 0 / 0.6642 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.005993/0.5434, allocations: 1.67 MB / 0.6658 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.5435, allocations: 140.4 kB / 0.666 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008261/0.5444, allocations: 0.6055 MB / 0.6666 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.5444, allocations: 41.7 kB / 0.6666 GB, free: 8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.5448, allocations: 366.8 kB / 0.6669 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.5449, allocations: 142 kB / 0.6671 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.5452, allocations: 154.5 kB / 0.6672 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.5454, allocations: 374.8 kB / 0.6676 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.5458, allocations: 201.9 kB / 0.6678 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.5465, allocations: 0.5164 MB / 0.6683 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.5475, allocations: 0.7513 MB / 0.669 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5475, allocations: 4 kB / 0.669 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0016/0.5492, allocations: 0.8869 MB / 0.6699 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5492, allocations: 8.938 kB / 0.6699 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5492, allocations: 8 kB / 0.6699 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.5507, allocations: 316.6 kB / 0.6702 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.5511, allocations: 127.7 kB / 0.6703 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.5523, allocations: 0.9294 MB / 0.6712 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/0.5529, allocations: 27.98 kB / 0.6713 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.914e-05/0.553, allocations: 64 kB / 0.6713 GB, free: 2.812 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004287/0.5534, allocations: 249.5 kB / 0.6716 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.5536, allocations: 71.09 kB / 0.6716 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.5554, allocations: 0.8578 MB / 0.6725 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.5555, allocations: 4 kB / 0.6725 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.5555, allocations: 4 kB / 0.6725 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5555, allocations: 11.98 kB / 0.6725 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.5577, allocations: 1.465 MB / 0.6739 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5577, allocations: 8.188 kB / 0.6739 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.5588, allocations: 203.8 kB / 0.6741 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.5589, allocations: 24.84 kB / 0.6741 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.559, allocations: 23.98 kB / 0.6742 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/0.5615, allocations: 2.87 MB / 0.677 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.5615, allocations: 4.031 kB / 0.677 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.5629, allocations: 0.8176 MB / 0.6778 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.5632, allocations: 184.3 kB / 0.6779 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.5633, allocations: 8 kB / 0.6779 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.5637, allocations: 19.98 kB / 0.678 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5638, allocations: 51.89 kB / 0.678 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/0.5639, allocations: 39.98 kB / 0.6781 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005966/0.5645, allocations: 439 kB / 0.6785 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5645, allocations: 0 / 0.6785 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001046/0.5656, allocations: 256 kB / 0.6787 GB, free: 10.73 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002464/0.568, allocations: 1.579 MB / 0.6803 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.5694, allocations: 0.5866 MB / 0.6808 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5695, allocations: 4 kB / 0.6808 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.5705, allocations: 426.2 kB / 0.6812 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.5723, allocations: 360 kB / 0.6816 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009048/0.5814, allocations: 6.553 MB / 0.688 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.582, allocations: 0.9378 MB / 0.6889 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00134/0.5834, allocations: 461.6 kB / 0.6893 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/0.584, allocations: 291.3 kB / 0.6896 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/0.584, allocations: 0 / 0.6896 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2572/0.8411, allocations: 24.18 MB / 0.7132 GB, free: 198 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.49, allocations: 6.484 kB / 0.7132 GB, free: 198 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)