Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, 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.00216/0.00216, 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.507/1.507, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2342/0.2342, allocations: 46.12 MB / 344.2 MB, free: 11.51 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.00224/0.00224, allocations: 78.22 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1287, allocations: 62.46 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4127/0.5415, allocations: 153.9 MB / 0.6192 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.5438, allocations: 1.457 MB / 0.6207 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.5439, allocations: 0 / 0.6207 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.5443, allocations: 47.17 kB / 0.6207 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.5473, allocations: 1.077 MB / 0.6218 GB, free: 6.684 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.171e-06/0.5473, allocations: 4 kB / 0.6218 GB, free: 6.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.5474, allocations: 67.64 kB / 0.6218 GB, free: 6.613 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.5475, allocations: 4 kB / 0.6218 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.5475, allocations: 27.84 kB / 0.6219 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.153e-05/0.5476, allocations: 31.84 kB / 0.6219 GB, free: 6.551 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.5476, allocations: 0 / 0.6219 GB, free: 6.551 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/0.551, allocations: 1.833 MB / 0.6237 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.5511, allocations: 11.92 kB / 0.6237 GB, free: 4.703 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.5511, allocations: 31.91 kB / 0.6237 GB, free: 4.672 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.5531, allocations: 0.916 MB / 0.6246 GB, free: 3.758 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5532, allocations: 4 kB / 0.6246 GB, free: 3.754 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5532, allocations: 0 / 0.6246 GB, free: 3.754 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.5532, allocations: 0 / 0.6246 GB, free: 3.754 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008834/0.5541, allocations: 0.4958 MB / 0.6251 GB, free: 3.211 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5541, allocations: 8.031 kB / 0.6251 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.5542, allocations: 42.69 kB / 0.6251 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.5542, allocations: 4.875 kB / 0.6252 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.5543, allocations: 175.7 kB / 0.6253 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5544, allocations: 4 kB / 0.6253 GB, free: 2.934 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.5544, allocations: 8 kB / 0.6253 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.5546, allocations: 78.55 kB / 0.6254 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.5546, allocations: 0 / 0.6254 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.5546, allocations: 3.984 kB / 0.6254 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.5546, allocations: 15.92 kB / 0.6254 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.5547, allocations: 59.97 kB / 0.6255 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.5552, allocations: 312.6 kB / 0.6258 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.144e-05/0.5553, allocations: 42.5 kB / 0.6258 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.5554, allocations: 20.97 kB / 0.6258 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.5556, allocations: 251.3 kB / 0.6261 GB, free: 2.035 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.5556, allocations: 44.48 kB / 0.6261 GB, free: 1.984 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.5557, allocations: 0 / 0.6261 GB, free: 1.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002167/0.5559, allocations: 65.69 kB / 0.6262 GB, free: 1.914 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.5559, allocations: 55.41 kB / 0.6262 GB, free: 1.848 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.556, allocations: 105.8 kB / 0.6263 GB, free: 1.734 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.556, allocations: 25.7 kB / 0.6264 GB, free: 1.703 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.5561, allocations: 99.88 kB / 0.6265 GB, free: 1.602 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.5561, allocations: 15.8 kB / 0.6265 GB, free: 1.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.5562, allocations: 25.66 kB / 0.6265 GB, free: 1.555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5563, allocations: 315 kB / 0.6268 GB, free: 1.238 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.5564, allocations: 19.92 kB / 0.6268 GB, free: 1.219 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/0.5564, allocations: 35.42 kB / 0.6269 GB, free: 1.172 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.636e-05/0.5565, allocations: 62.23 kB / 0.6269 GB, free: 1.102 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5565, allocations: 0 / 0.6269 GB, free: 1.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001423/0.5567, allocations: 81.53 kB / 0.627 GB, free: 1.016 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5567, allocations: 7.938 kB / 0.627 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5567, allocations: 4 kB / 0.627 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5567, allocations: 3.984 kB / 0.627 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.5568, allocations: 12 kB / 0.627 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.5568, allocations: 7.312 kB / 0.627 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.5569, allocations: 11.94 kB / 0.627 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.5569, allocations: 4 kB / 0.627 GB, free: 0.9688 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * 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 8.859e-05/0.557, allocations: 121.9 kB / 0.6272 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.557, allocations: 7.844 kB / 0.6272 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.5572, allocations: 70.17 kB / 0.6272 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.5572, allocations: 0 / 0.6272 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5572, allocations: 0 / 0.6272 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5572, allocations: 0 / 0.6272 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.5574, allocations: 169.7 kB / 0.6274 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5574, allocations: 7.938 kB / 0.6274 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.5575, allocations: 13.17 kB / 0.6274 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.5575, allocations: 3.938 kB / 0.6274 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.5575, allocations: 0 / 0.6274 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.5575, allocations: 0 / 0.6274 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5575, allocations: 0 / 0.6274 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.5577, allocations: 156.4 kB / 0.6276 GB, free: 364 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.5577, allocations: 84.95 kB / 0.6276 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.5578, allocations: 7.984 kB / 0.6277 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.5578, allocations: 0 / 0.6277 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.5578, allocations: 4 kB / 0.6277 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.5578, allocations: 4 kB / 0.6277 GB, free: 244 kB / 462.1 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.5579, allocations: 87.95 kB / 0.6277 GB, free: 156 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5579, allocations: 0 / 0.6277 GB, free: 156 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005342/0.5584, allocations: 147.9 kB / 0.6279 GB, free: 8 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 4 * 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.0013/0.5597, allocations: 0.9336 MB / 0.6288 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.5599, allocations: 43.91 kB / 0.6288 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5599, allocations: 192 / 0.6288 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.56, allocations: 20 kB / 0.6289 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.5603, allocations: 13.45 kB / 0.6289 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007296/0.561, allocations: 266.7 kB / 0.6291 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.5613, allocations: 0.689 MB / 0.6298 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.168e-05/0.5614, allocations: 12.14 kB / 0.6298 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.5615, allocations: 35.36 kB / 0.6298 GB, free: 13.92 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5615, allocations: 0 / 0.6298 GB, free: 13.92 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.5894, allocations: 4.963 MB / 0.6347 GB, free: 9.027 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.84, allocations: 7.578 kB / 0.6347 GB, free: 9.023 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1)