Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.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.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001976/0.001976, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 247 MB, free: 10.45 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.2297/0.2297, allocations: 46.11 MB / 344.3 MB, free: 11.44 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.002449/0.002449, allocations: 83.88 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.357, allocations: 62.44 MB / 0.5306 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1781/0.5352, allocations: 139 MB / 0.6664 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005428/0.5406, allocations: 4.73 MB / 0.671 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.5408, allocations: 0 / 0.671 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.5412, allocations: 59.59 kB / 0.6711 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.5432, allocations: 0.7345 MB / 0.6718 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.5436, allocations: 154.7 kB / 0.6719 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.5441, allocations: 382.1 kB / 0.6723 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.5442, allocations: 13.67 kB / 0.6723 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.5444, allocations: 155.5 kB / 0.6725 GB, free: 64 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.5447, allocations: 187.4 kB / 0.6726 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.5447, allocations: 8 kB / 0.6726 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.5463, allocations: 0.702 MB / 0.6733 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.5464, allocations: 43.77 kB / 0.6734 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.5466, allocations: 115.4 kB / 0.6735 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009195/0.5475, allocations: 474.7 kB / 0.6739 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5475, allocations: 0 / 0.6739 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5475, allocations: 0 / 0.6739 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.5475, allocations: 7.984 kB / 0.6739 GB, free: 14.54 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001155/0.5487, allocations: 0.6077 MB / 0.6745 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5487, allocations: 11.97 kB / 0.6745 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.4e-05/0.5488, allocations: 62.72 kB / 0.6746 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.549, allocations: 24.84 kB / 0.6746 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.5493, allocations: 240 kB / 0.6749 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.5495, allocations: 119.9 kB / 0.675 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.5495, allocations: 24.12 kB / 0.675 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.5501, allocations: 326.8 kB / 0.6753 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5501, allocations: 0 / 0.6753 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.5501, allocations: 12 kB / 0.6753 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.5502, allocations: 7.938 kB / 0.6753 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008497/0.551, allocations: 0.7391 MB / 0.6761 GB, free: 12.24 MB / 0.5294 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.001405/0.5524, allocations: 1.23 MB / 0.6773 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.5529, allocations: 175.7 kB / 0.6774 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.553, allocations: 89.48 kB / 0.6775 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002932/0.556, allocations: 2.707 MB / 0.6801 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.556, allocations: 34.56 kB / 0.6802 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.963e-06/0.5561, allocations: 0 / 0.6802 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0007705/0.5568, allocations: 224.4 kB / 0.6804 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.5569, allocations: 55.39 kB / 0.6804 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.5571, allocations: 212.1 kB / 0.6807 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.5572, allocations: 29.7 kB / 0.6807 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.5573, allocations: 227.5 kB / 0.6809 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.5574, allocations: 51.62 kB / 0.6809 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.5575, allocations: 86.03 kB / 0.681 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.5577, allocations: 330.8 kB / 0.6813 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/0.5578, allocations: 52.84 kB / 0.6814 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.5581, allocations: 317.2 kB / 0.6817 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.5586, allocations: 424.3 kB / 0.6821 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5586, allocations: 8 kB / 0.6821 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005644/0.5592, allocations: 372.8 kB / 0.6825 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.5592, allocations: 9 kB / 0.6825 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.5592, allocations: 8 kB / 0.6825 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.906e-05/0.5593, allocations: 23.94 kB / 0.6825 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.5596, allocations: 107.8 kB / 0.6826 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.5597, allocations: 19.92 kB / 0.6826 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.5599, allocations: 20 kB / 0.6826 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.5599, allocations: 28 kB / 0.6827 GB, free: 4.496 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0001473/0.5601, allocations: 145.6 kB / 0.6828 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.5601, allocations: 19.91 kB / 0.6828 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.5605, allocations: 163.7 kB / 0.683 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5605, allocations: 0 / 0.683 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5605, allocations: 0 / 0.683 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.5605, allocations: 3.984 kB / 0.683 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.5612, allocations: 444 kB / 0.6834 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5612, allocations: 0 / 0.6834 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.5613, allocations: 27.98 kB / 0.6834 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5613, allocations: 0 / 0.6834 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.5614, allocations: 4 kB / 0.6834 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5614, allocations: 0 / 0.6834 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5614, allocations: 0 / 0.6834 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.5616, allocations: 229 kB / 0.6837 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.5617, allocations: 105 kB / 0.6838 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.5618, allocations: 3.953 kB / 0.6838 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.562, allocations: 19.98 kB / 0.6838 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.562, allocations: 4 kB / 0.6838 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.562, allocations: 11.92 kB / 0.6838 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001396/0.5622, allocations: 156.5 kB / 0.6839 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5622, allocations: 4 kB / 0.684 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004931/0.5627, allocations: 91.88 kB / 0.684 GB, free: 2.969 MB / 0.5294 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0007307/0.5634, allocations: 0.8188 MB / 0.6848 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.5637, allocations: 176.1 kB / 0.685 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5638, allocations: 2 kB / 0.685 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.935e-05/0.5638, allocations: 35.92 kB / 0.685 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.5643, allocations: 48.47 kB / 0.6851 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.5675, allocations: 2.731 MB / 0.6878 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.5679, allocations: 0.7285 MB / 0.6885 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000211/0.5681, allocations: 62.84 kB / 0.6885 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.823e-05/0.5682, allocations: 59.42 kB / 0.6886 GB, free: 13.9 MB / 0.545 GB Notification: Performance of SimCode: time 6.42e-07/0.5682, allocations: 4 kB / 0.6886 GB, free: 13.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.5937, allocations: 5.334 MB / 0.6938 GB, free: 8.691 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.611, allocations: 4.641 kB / 0.6938 GB, free: 8.688 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1)