Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001123/0.001123, allocations: 192.3 kB / 16.14 MB, free: 6.703 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.263/1.263, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04217/0.04217, allocations: 9.081 MB / 278.4 MB, free: 12.4 MB / 238.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: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.92 kB / 337.3 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0755/0.0768, allocations: 48.17 MB / 385.5 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.2897/0.3666, allocations: 129.9 MB / 0.5033 GB, free: 4.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3454/0.712, allocations: 111.8 MB / 0.6125 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006417/0.7127, allocations: 7.062 kB / 0.6125 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.7155, allocations: 1.116 MB / 0.6136 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.7184, allocations: 1.399 MB / 0.615 GB, free: 1.074 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05935/0.7778, allocations: 24.49 MB / 0.6389 GB, free: 232 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001894/0.7797, allocations: 1.777 MB / 0.6406 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.78, allocations: 102.2 kB / 0.6407 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01396/0.794, allocations: 8.181 MB / 0.6487 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005725/0.7946, allocations: 378 kB / 0.6491 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.7946, allocations: 19.41 kB / 0.6491 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0503/0.845, allocations: 29.99 MB / 0.6784 GB, free: 9.328 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.8452, allocations: 103.2 kB / 0.6785 GB, free: 9.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.8459, allocations: 291.1 kB / 0.6787 GB, free: 9.035 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0407/0.8866, allocations: 13.69 MB / 0.6921 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8866, allocations: 0 / 0.6921 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.8866, allocations: 0 / 0.6921 GB, free: 14.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.8866, allocations: 0 / 0.6921 GB, free: 14.62 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006447/0.8931, allocations: 2.577 MB / 0.6946 GB, free: 12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.8932, allocations: 12.03 kB / 0.6946 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006795/0.8938, allocations: 83.39 kB / 0.6947 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.8943, allocations: 341.8 kB / 0.695 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.8943, allocations: 32.59 kB / 0.6951 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.8944, allocations: 36 kB / 0.6951 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.8956, allocations: 0.593 MB / 0.6957 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.8956, allocations: 7.938 kB / 0.6957 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.8956, allocations: 15.94 kB / 0.6957 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.8957, allocations: 19.75 kB / 0.6957 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.8969, allocations: 0.5481 MB / 0.6963 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.8992, allocations: 2.497 MB / 0.6987 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.9003, allocations: 0.4964 MB / 0.6992 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.9008, allocations: 334.3 kB / 0.6995 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3915/1.292, allocations: 139 MB / 0.8352 GB, free: 285.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/1.292, allocations: 39.94 kB / 0.8353 GB, free: 285.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/1.292, allocations: 0 / 0.8353 GB, free: 285.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.006034/1.299, allocations: 2.348 MB / 0.8376 GB, free: 284.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/1.299, allocations: 55.19 kB / 0.8376 GB, free: 284.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/1.299, allocations: 255.8 kB / 0.8379 GB, free: 284.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/1.299, allocations: 29.7 kB / 0.8379 GB, free: 284.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.911e-05/1.299, allocations: 184.5 kB / 0.8381 GB, free: 283.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/1.299, allocations: 264.9 kB / 0.8383 GB, free: 283.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.299, allocations: 97.36 kB / 0.8384 GB, free: 283.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.726e-05/1.299, allocations: 355.9 kB / 0.8387 GB, free: 283.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/1.3, allocations: 277.2 kB / 0.839 GB, free: 283.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/1.3, allocations: 401.6 kB / 0.8394 GB, free: 282.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009165/1.301, allocations: 0.7186 MB / 0.8401 GB, free: 282.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.301, allocations: 0 / 0.8401 GB, free: 282.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001306/1.303, allocations: 0.8015 MB / 0.8409 GB, free: 282 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.303, allocations: 3.969 kB / 0.8409 GB, free: 282 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.303, allocations: 3.969 kB / 0.8409 GB, free: 282 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/1.303, allocations: 64.5 kB / 0.8409 GB, free: 281.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/1.303, allocations: 131.6 kB / 0.8411 GB, free: 281.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09249/1.396, allocations: 25.32 MB / 0.8658 GB, free: 260.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/1.396, allocations: 43.81 kB / 0.8658 GB, free: 260.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/1.397, allocations: 24.05 kB / 0.8659 GB, free: 260.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002556/1.397, allocations: 193.5 kB / 0.8661 GB, free: 260.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.397, allocations: 39.53 kB / 0.8661 GB, free: 260.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/1.399, allocations: 1.578 MB / 0.8676 GB, free: 258.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/1.399, allocations: 14.25 kB / 0.8676 GB, free: 258.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.399, allocations: 8 kB / 0.8677 GB, free: 258.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/1.4, allocations: 1.18 MB / 0.8688 GB, free: 257.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/1.402, allocations: 1.643 MB / 0.8704 GB, free: 256 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.402, allocations: 0 / 0.8704 GB, free: 256 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/1.402, allocations: 72.81 kB / 0.8705 GB, free: 255.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002821/1.402, allocations: 117.5 kB / 0.8706 GB, free: 255.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/1.402, allocations: 8 kB / 0.8706 GB, free: 255.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009656/1.403, allocations: 1.902 MB / 0.8725 GB, free: 253.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.403, allocations: 0 / 0.8725 GB, free: 253.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/1.405, allocations: 1.254 MB / 0.8737 GB, free: 252.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/1.405, allocations: 123.3 kB / 0.8738 GB, free: 252.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-05/1.405, allocations: 7.938 kB / 0.8738 GB, free: 252.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/1.406, allocations: 40.03 kB / 0.8738 GB, free: 252.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/1.406, allocations: 39.94 kB / 0.8739 GB, free: 252.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/1.406, allocations: 15.98 kB / 0.8739 GB, free: 252.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002118/1.406, allocations: 243 kB / 0.8741 GB, free: 252 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.406, allocations: 0 / 0.8741 GB, free: 252 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008776/1.415, allocations: 3.185 MB / 0.8772 GB, free: 249.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01679/1.432, allocations: 4.179 MB / 0.8813 GB, free: 245.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002191/1.434, allocations: 0.9788 MB / 0.8823 GB, free: 244.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.434, allocations: 192 / 0.8823 GB, free: 244.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008094/1.435, allocations: 0.499 MB / 0.8828 GB, free: 243.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/1.437, allocations: 384.2 kB / 0.8831 GB, free: 243.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/1.439, allocations: 1.354 MB / 0.8845 GB, free: 242.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/1.439, allocations: 0.8525 MB / 0.8853 GB, free: 241.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004727/1.439, allocations: 144.9 kB / 0.8854 GB, free: 241.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.821e-05/1.44, allocations: 35.44 kB / 0.8855 GB, free: 241.2 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/1.44, allocations: 0 / 0.8855 GB, free: 241.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1323/1.572, allocations: 117.6 MB / 1 GB, free: 123.5 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.pipe 2>&1)