Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01224/0.01224, allocations: 103.9 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 187.8 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.385/0.385, allocations: 38 MB / 307.9 MB, free: 10.12 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 67.91 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.369, allocations: 56.46 MB / 489.5 MB, free: 20.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1962/0.5652, allocations: 147.6 MB / 0.6221 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01351/0.5788, allocations: 5.602 MB / 0.6276 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.5802, allocations: 19.88 kB / 0.6276 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.5819, allocations: 326 kB / 0.6279 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.5857, allocations: 0.8589 MB / 0.6288 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005247/0.591, allocations: 1.017 MB / 0.6298 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00385/0.5948, allocations: 1.801 MB / 0.6315 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.596, allocations: 457.4 kB / 0.632 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.5984, allocations: 0.7591 MB / 0.6327 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.6003, allocations: 0.7085 MB / 0.6334 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.6004, allocations: 64 kB / 0.6335 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.6026, allocations: 0.5419 MB / 0.634 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.6031, allocations: 267.3 kB / 0.6342 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007788/0.6039, allocations: 394.2 kB / 0.6346 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.6062, allocations: 1.147 MB / 0.6357 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.6062, allocations: 0 / 0.6357 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6062, allocations: 0 / 0.6357 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.6063, allocations: 0 / 0.6357 GB, free: 1.613 MB / 0.4981 GB 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.0032/0.6095, allocations: 1.052 MB / 0.6368 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.6095, allocations: 11.89 kB / 0.6368 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006321/0.6102, allocations: 88.08 kB / 0.6369 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2895/0.8997, allocations: 0.5347 MB / 0.6374 GB, free: 145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.8999, allocations: 104.6 kB / 0.6375 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.9, allocations: 49.91 kB / 0.6375 GB, free: 144.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.9016, allocations: 0.8074 MB / 0.6383 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.9016, allocations: 4.156 kB / 0.6383 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/0.9017, allocations: 24.78 kB / 0.6384 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.733e-05/0.9018, allocations: 42.91 kB / 0.6384 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.9031, allocations: 0.6531 MB / 0.639 GB, free: 144.2 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.005214/0.9083, allocations: 3.954 MB / 0.6429 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.9093, allocations: 434.4 kB / 0.6433 GB, free: 141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.9097, allocations: 206.1 kB / 0.6435 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00054/0.9103, allocations: 0.7323 MB / 0.6442 GB, free: 140 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.9103, allocations: 42.3 kB / 0.6443 GB, free: 140 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.9103, allocations: 0 / 0.6443 GB, free: 140 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003369/0.9137, allocations: 1.546 MB / 0.6458 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.9138, allocations: 141.6 kB / 0.6459 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008301/0.9146, allocations: 0.5676 MB / 0.6465 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.9146, allocations: 33.27 kB / 0.6465 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.9149, allocations: 356.7 kB / 0.6468 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.9151, allocations: 165.8 kB / 0.647 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.9153, allocations: 136.2 kB / 0.6471 GB, free: 138.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9155, allocations: 374.6 kB / 0.6475 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.9159, allocations: 215.3 kB / 0.6477 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.9164, allocations: 0.5123 MB / 0.6482 GB, free: 137.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009576/0.9174, allocations: 0.7656 MB / 0.6489 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.9174, allocations: 3 kB / 0.6489 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00173/0.9191, allocations: 0.9103 MB / 0.6498 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.9192, allocations: 9.734 kB / 0.6498 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.9192, allocations: 9.469 kB / 0.6498 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.9206, allocations: 284.8 kB / 0.6501 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.921, allocations: 126.4 kB / 0.6502 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009961/0.922, allocations: 0.8885 MB / 0.6511 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.9225, allocations: 27.61 kB / 0.6511 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.9225, allocations: 46.53 kB / 0.6512 GB, free: 135.6 MB / 0.4981 GB 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.0003521/0.9229, allocations: 246.1 kB / 0.6514 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.923, allocations: 72.69 kB / 0.6515 GB, free: 135.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.9245, allocations: 0.771 MB / 0.6522 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.9245, allocations: 7.016 kB / 0.6522 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.9245, allocations: 1 kB / 0.6522 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.9245, allocations: 2.578 kB / 0.6522 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.9267, allocations: 1.412 MB / 0.6536 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.9267, allocations: 1.641 kB / 0.6536 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.9278, allocations: 208.3 kB / 0.6538 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-05/0.9279, allocations: 24.73 kB / 0.6538 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.928, allocations: 15.23 kB / 0.6539 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.9295, allocations: 2.881 MB / 0.6567 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.9296, allocations: 2.188 kB / 0.6567 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.931, allocations: 1.009 MB / 0.6577 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.9314, allocations: 201 kB / 0.6578 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.9315, allocations: 15.12 kB / 0.6579 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.9319, allocations: 15.06 kB / 0.6579 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.932, allocations: 41.2 kB / 0.6579 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.932, allocations: 27.78 kB / 0.6579 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005756/0.9326, allocations: 429 kB / 0.6583 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.9326, allocations: 0 / 0.6583 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009194/0.9336, allocations: 224.6 kB / 0.6586 GB, free: 130.2 MB / 0.4981 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 (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.0006055/0.9342, allocations: 270.8 kB / 0.6588 GB, free: 130 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.9355, allocations: 0.6063 MB / 0.6594 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.9355, allocations: 0 / 0.6594 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.9366, allocations: 456.6 kB / 0.6598 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.9384, allocations: 368.9 kB / 0.6602 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.9409, allocations: 1.369 MB / 0.6615 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.9415, allocations: 0.9348 MB / 0.6625 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007933/0.9423, allocations: 209.1 kB / 0.6627 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.9425, allocations: 66.58 kB / 0.6627 GB, free: 128 MB / 0.4981 GB Notification: Performance of SimCode: time 1.422e-06/0.9425, allocations: 0 / 0.6627 GB, free: 128 MB / 0.4981 GB Notification: Performance of Templates: time 0.02908/0.9716, allocations: 15.89 MB / 0.6782 GB, free: 120.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)