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.00141/0.00141, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2326/0.2326, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002487/0.002487, allocations: 79.58 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1255, allocations: 62.46 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3731/0.4986, allocations: 139 MB / 0.6047 GB, free: 8.203 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005641/0.5043, allocations: 4.732 MB / 0.6093 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.5045, allocations: 0 / 0.6093 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.5049, allocations: 59.59 kB / 0.6094 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.5068, allocations: 0.7345 MB / 0.6101 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.5072, allocations: 155.6 kB / 0.6102 GB, free: 2.527 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.5077, allocations: 374.2 kB / 0.6106 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.5077, allocations: 17.67 kB / 0.6106 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.508, allocations: 159.4 kB / 0.6108 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.5082, allocations: 187.4 kB / 0.6109 GB, free: 1.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.5083, allocations: 8 kB / 0.611 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.5097, allocations: 0.7058 MB / 0.6116 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.5098, allocations: 43.77 kB / 0.6117 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.5099, allocations: 111.5 kB / 0.6118 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.5107, allocations: 473.1 kB / 0.6122 GB, free: 488 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5107, allocations: 4 kB / 0.6122 GB, free: 484 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5107, allocations: 4 kB / 0.6122 GB, free: 480 kB / 446.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.5108, allocations: 3.938 kB / 0.6123 GB, free: 476 kB / 446.1 MB 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.00113/0.5119, allocations: 0.5976 MB / 0.6128 GB, free: 15.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5119, allocations: 12.03 kB / 0.6128 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.42e-05/0.512, allocations: 58.73 kB / 0.6129 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.5122, allocations: 27.94 kB / 0.6129 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.5125, allocations: 224 kB / 0.6131 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.5126, allocations: 127.9 kB / 0.6133 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.5127, allocations: 24.38 kB / 0.6133 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.5132, allocations: 322.7 kB / 0.6136 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5132, allocations: 0 / 0.6136 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.5132, allocations: 15.91 kB / 0.6136 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.5133, allocations: 11.98 kB / 0.6136 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.5142, allocations: 0.743 MB / 0.6143 GB, free: 14.17 MB / 462.1 MB 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.001509/0.5157, allocations: 1.218 MB / 0.6155 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.5161, allocations: 167.8 kB / 0.6157 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.5163, allocations: 93.41 kB / 0.6158 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003081/0.5194, allocations: 2.707 MB / 0.6184 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.5195, allocations: 34.56 kB / 0.6185 GB, free: 9.312 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.5195, allocations: 0 / 0.6185 GB, free: 9.312 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007486/0.5202, allocations: 219 kB / 0.6187 GB, free: 9.094 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.5203, allocations: 59.41 kB / 0.6187 GB, free: 9.023 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.5205, allocations: 212.1 kB / 0.6189 GB, free: 8.809 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.5206, allocations: 29.7 kB / 0.619 GB, free: 8.773 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.5208, allocations: 218.7 kB / 0.6192 GB, free: 8.551 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.5208, allocations: 51.36 kB / 0.6192 GB, free: 8.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.5209, allocations: 85.97 kB / 0.6193 GB, free: 8.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5211, allocations: 330.8 kB / 0.6196 GB, free: 8.078 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.339e-05/0.5212, allocations: 44.84 kB / 0.6197 GB, free: 8.035 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.5216, allocations: 325.2 kB / 0.62 GB, free: 7.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.5221, allocations: 417.8 kB / 0.6204 GB, free: 7.051 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5221, allocations: 0 / 0.6204 GB, free: 7.051 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005837/0.5227, allocations: 380.7 kB / 0.6207 GB, free: 6.672 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.5227, allocations: 15.98 kB / 0.6207 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.5228, allocations: 8.906 kB / 0.6208 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.5228, allocations: 19.97 kB / 0.6208 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.5231, allocations: 111.8 kB / 0.6209 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.5232, allocations: 23.86 kB / 0.6209 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.5234, allocations: 16.69 kB / 0.6209 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.5234, allocations: 24 kB / 0.6209 GB, free: 6.457 MB / 462.1 MB 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.0001631/0.5236, allocations: 153.6 kB / 0.6211 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.5237, allocations: 15.81 kB / 0.6211 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.524, allocations: 151.7 kB / 0.6212 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.524, allocations: 4 kB / 0.6212 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.524, allocations: 0 / 0.6212 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.524, allocations: 0 / 0.6212 GB, free: 6.125 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007511/0.5248, allocations: 456.1 kB / 0.6217 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5248, allocations: 0 / 0.6217 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.525, allocations: 27.98 kB / 0.6217 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.525, allocations: 0 / 0.6217 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.525, allocations: 0 / 0.6217 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.525, allocations: 7.938 kB / 0.6217 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.525, allocations: 1.562 kB / 0.6217 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.5253, allocations: 224.7 kB / 0.6219 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.5254, allocations: 108.8 kB / 0.622 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.5254, allocations: 4 kB / 0.622 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.5256, allocations: 4 kB / 0.622 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.5257, allocations: 13.11 kB / 0.6221 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.5257, allocations: 11.98 kB / 0.6221 GB, free: 5.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.5258, allocations: 148.4 kB / 0.6222 GB, free: 5.043 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5258, allocations: 7.938 kB / 0.6222 GB, free: 5.035 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005148/0.5264, allocations: 99.92 kB / 0.6223 GB, free: 4.938 MB / 462.1 MB 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.000822/0.5272, allocations: 0.8115 MB / 0.6231 GB, free: 4.094 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.5275, allocations: 177.9 kB / 0.6233 GB, free: 3.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5275, allocations: 0 / 0.6233 GB, free: 3.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.006e-05/0.5276, allocations: 39.92 kB / 0.6233 GB, free: 3.883 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.528, allocations: 46.94 kB / 0.6234 GB, free: 3.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.5313, allocations: 2.719 MB / 0.626 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.5317, allocations: 0.7323 MB / 0.6267 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002999/0.532, allocations: 59.5 kB / 0.6268 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-05/0.5321, allocations: 63.42 kB / 0.6268 GB, free: 15.89 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5321, allocations: 4 kB / 0.6268 GB, free: 15.89 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.5609, allocations: 5.265 MB / 0.632 GB, free: 10.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.575, allocations: 3.469 kB / 0.632 GB, free: 10.73 MB / 478.1 MB (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)