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.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_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.001365/0.001365, allocations: 104.1 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.001355/0.001355, 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.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2457/0.2457, allocations: 46.12 MB / 344.2 MB, free: 11.53 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.003455/0.003455, allocations: 88.16 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.147, allocations: 62.44 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4057/0.5528, allocations: 150.5 MB / 0.6159 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00791/0.5607, allocations: 5.605 MB / 0.6214 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007075/0.5615, allocations: 19.88 kB / 0.6214 GB, free: 6.977 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.5626, allocations: 322 kB / 0.6217 GB, free: 6.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.5646, allocations: 0.8589 MB / 0.6226 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.5672, allocations: 1.02 MB / 0.6236 GB, free: 4.789 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.5695, allocations: 1.813 MB / 0.6253 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007218/0.5702, allocations: 462.8 kB / 0.6258 GB, free: 2.512 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.5715, allocations: 0.7629 MB / 0.6265 GB, free: 1.746 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.5726, allocations: 0.7164 MB / 0.6272 GB, free: 1.027 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.5727, allocations: 60 kB / 0.6273 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.574, allocations: 0.5537 MB / 0.6278 GB, free: 424 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003093/0.5743, allocations: 263.3 kB / 0.6281 GB, free: 160 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004931/0.5748, allocations: 402.2 kB / 0.6284 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.5764, allocations: 1.165 MB / 0.6296 GB, free: 14.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5764, allocations: 0 / 0.6296 GB, free: 14.59 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5764, allocations: 0 / 0.6296 GB, free: 14.59 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.5765, allocations: 0 / 0.6296 GB, free: 14.59 MB / 478.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.002182/0.5786, allocations: 1.06 MB / 0.6306 GB, free: 13.48 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5787, allocations: 8.031 kB / 0.6306 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/0.5788, allocations: 95.39 kB / 0.6307 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.5792, allocations: 92.08 kB / 0.6308 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008112/0.58, allocations: 0.5131 MB / 0.6313 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.5801, allocations: 101 kB / 0.6314 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.035e-05/0.5802, allocations: 52.36 kB / 0.6315 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.5816, allocations: 0.8188 MB / 0.6323 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.5816, allocations: 0.5 kB / 0.6323 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.5817, allocations: 24 kB / 0.6323 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.95e-05/0.5818, allocations: 40.97 kB / 0.6323 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.5829, allocations: 0.6517 MB / 0.6329 GB, free: 10.97 MB / 478.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.005192/0.5881, allocations: 3.986 MB / 0.6368 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008811/0.589, allocations: 420.3 kB / 0.6372 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.5894, allocations: 213.3 kB / 0.6374 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000705/0.5901, allocations: 0.7366 MB / 0.6382 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.5902, allocations: 39.22 kB / 0.6382 GB, free: 5.121 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.545e-06/0.5902, allocations: 0 / 0.6382 GB, free: 5.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003413/0.5936, allocations: 1.544 MB / 0.6397 GB, free: 3.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/0.5937, allocations: 132.5 kB / 0.6398 GB, free: 3.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.5944, allocations: 0.5693 MB / 0.6404 GB, free: 2.762 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.5945, allocations: 33.7 kB / 0.6404 GB, free: 2.723 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.5948, allocations: 366.8 kB / 0.6408 GB, free: 2.359 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.5949, allocations: 161.7 kB / 0.6409 GB, free: 2.199 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.5951, allocations: 142.5 kB / 0.6411 GB, free: 2.055 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5953, allocations: 374.8 kB / 0.6414 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.5957, allocations: 213.9 kB / 0.6416 GB, free: 1.469 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.5963, allocations: 0.5123 MB / 0.6421 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.5974, allocations: 0.7679 MB / 0.6429 GB, free: 15.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5974, allocations: 0 / 0.6429 GB, free: 15.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001697/0.5991, allocations: 0.906 MB / 0.6438 GB, free: 15.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.5991, allocations: 14.59 kB / 0.6438 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.5991, allocations: 8 kB / 0.6438 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.6005, allocations: 289 kB / 0.6441 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.6009, allocations: 127.8 kB / 0.6442 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.602, allocations: 0.8821 MB / 0.645 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.6024, allocations: 24.06 kB / 0.6451 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.6025, allocations: 40 kB / 0.6451 GB, free: 13.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003465/0.6029, allocations: 256.7 kB / 0.6453 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.603, allocations: 63.25 kB / 0.6454 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.6044, allocations: 0.7711 MB / 0.6462 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.6044, allocations: 7.984 kB / 0.6462 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6044, allocations: 0 / 0.6462 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.6044, allocations: 3.938 kB / 0.6462 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.6065, allocations: 1.416 MB / 0.6476 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6065, allocations: 0 / 0.6476 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.6076, allocations: 207.9 kB / 0.6478 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.818e-05/0.6077, allocations: 24.84 kB / 0.6478 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.6077, allocations: 15.98 kB / 0.6478 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.6101, allocations: 2.878 MB / 0.6506 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.6101, allocations: 4.031 kB / 0.6506 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.6116, allocations: 1.003 MB / 0.6516 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.612, allocations: 204.2 kB / 0.6518 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.6121, allocations: 12 kB / 0.6518 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.6125, allocations: 19.98 kB / 0.6518 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.6126, allocations: 43.89 kB / 0.6519 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.6126, allocations: 23.98 kB / 0.6519 GB, free: 6.184 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005456/0.6132, allocations: 427 kB / 0.6523 GB, free: 5.766 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6132, allocations: 0 / 0.6523 GB, free: 5.766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008033/0.614, allocations: 227.9 kB / 0.6525 GB, free: 5.543 MB / 494.1 MB 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002236/0.6162, allocations: 1.708 MB / 0.6542 GB, free: 3.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.6177, allocations: 0.6576 MB / 0.6548 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6178, allocations: 0 / 0.6548 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.6189, allocations: 454.3 kB / 0.6552 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.6208, allocations: 385.5 kB / 0.6556 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.6311, allocations: 6.718 MB / 0.6622 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.6318, allocations: 0.9384 MB / 0.6631 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008205/0.6326, allocations: 208.8 kB / 0.6633 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.633, allocations: 239.4 kB / 0.6635 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.633, allocations: 0 / 0.6635 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06093/0.6939, allocations: 22.32 MB / 0.6853 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.35, allocations: 15.22 kB / 0.6853 GB, free: 3.762 MB / 0.5137 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_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_SimpleAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)