Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, 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.00128/0.00128, allocations: 194.8 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.37/1.37, allocations: 205.1 MB / 222 MB, free: 4.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04192/0.04192, allocations: 9.074 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.00121/0.00121, allocations: 67.91 kB / 337.3 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07469/0.07591, allocations: 48.17 MB / 385.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.2984/0.3743, allocations: 144.1 MB / 0.5172 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3218/0.6962, allocations: 99.23 MB / 0.6141 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000685/0.6969, allocations: 3.75 kB / 0.6141 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003153/0.7001, allocations: 1.177 MB / 0.6153 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.704, allocations: 1.472 MB / 0.6167 GB, free: 1.074 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07035/0.7744, allocations: 25.11 MB / 0.6413 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.7769, allocations: 1.829 MB / 0.643 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.7772, allocations: 94.58 kB / 0.6431 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01521/0.7925, allocations: 9.37 MB / 0.6523 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.7929, allocations: 387.8 kB / 0.6527 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/0.793, allocations: 30.75 kB / 0.6527 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05272/0.8457, allocations: 32.31 MB / 0.6842 GB, free: 5.777 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.8461, allocations: 100.9 kB / 0.6843 GB, free: 5.711 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007024/0.8468, allocations: 287.8 kB / 0.6846 GB, free: 5.492 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0471/0.8939, allocations: 14.14 MB / 0.6984 GB, free: 9.117 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.894, allocations: 0 / 0.6984 GB, free: 9.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.894, allocations: 0 / 0.6984 GB, free: 9.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.894, allocations: 0 / 0.6984 GB, free: 9.117 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.006357/0.9004, allocations: 2.663 MB / 0.701 GB, free: 6.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9004, allocations: 8.031 kB / 0.701 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/0.901, allocations: 79.34 kB / 0.7011 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.9014, allocations: 336.1 kB / 0.7014 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.9014, allocations: 28.66 kB / 0.7014 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.9015, allocations: 43.31 kB / 0.7015 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.9027, allocations: 0.5728 MB / 0.702 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.9027, allocations: 7.938 kB / 0.7021 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.9027, allocations: 16 kB / 0.7021 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.9028, allocations: 22.03 kB / 0.7021 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.9039, allocations: 0.5213 MB / 0.7026 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.9064, allocations: 2.483 MB / 0.705 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.9075, allocations: 496.3 kB / 0.7055 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.908, allocations: 326.3 kB / 0.7058 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2918/1.2, allocations: 113.4 MB / 0.8166 GB, free: 272.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.2, allocations: 35.92 kB / 0.8166 GB, free: 272.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.286e-06/1.2, allocations: 0 / 0.8166 GB, free: 272.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006462/1.206, allocations: 2.429 MB / 0.819 GB, free: 271.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/1.206, allocations: 59.41 kB / 0.819 GB, free: 271.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/1.207, allocations: 257.1 kB / 0.8193 GB, free: 271.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/1.207, allocations: 32.64 kB / 0.8193 GB, free: 271.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/1.207, allocations: 188.6 kB / 0.8195 GB, free: 271.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/1.207, allocations: 267.7 kB / 0.8197 GB, free: 271.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/1.207, allocations: 97.88 kB / 0.8198 GB, free: 271.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/1.207, allocations: 355.9 kB / 0.8202 GB, free: 270.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/1.208, allocations: 282.1 kB / 0.8204 GB, free: 270.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/1.208, allocations: 399.2 kB / 0.8208 GB, free: 270.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009698/1.209, allocations: 0.7168 MB / 0.8215 GB, free: 270 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.209, allocations: 2.719 kB / 0.8215 GB, free: 270 MB / 0.5762 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001468/1.211, allocations: 0.822 MB / 0.8223 GB, free: 269.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.211, allocations: 5.938 kB / 0.8223 GB, free: 269.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.211, allocations: 2.969 kB / 0.8223 GB, free: 269.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/1.211, allocations: 81.33 kB / 0.8224 GB, free: 269.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/1.212, allocations: 106.3 kB / 0.8225 GB, free: 269.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04532/1.257, allocations: 13.28 MB / 0.8355 GB, free: 261.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/1.257, allocations: 49.41 kB / 0.8355 GB, free: 261.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/1.258, allocations: 22.77 kB / 0.8356 GB, free: 261.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002875/1.258, allocations: 191 kB / 0.8357 GB, free: 261.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.258, allocations: 42.28 kB / 0.8358 GB, free: 261 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/1.26, allocations: 1.724 MB / 0.8375 GB, free: 259.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/1.26, allocations: 21.33 kB / 0.8375 GB, free: 259.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.26, allocations: 3.906 kB / 0.8375 GB, free: 259.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001309/1.261, allocations: 1.252 MB / 0.8387 GB, free: 259 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/1.263, allocations: 1.758 MB / 0.8404 GB, free: 257.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.263, allocations: 0 / 0.8404 GB, free: 257.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/1.264, allocations: 86.47 kB / 0.8405 GB, free: 257.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003077/1.264, allocations: 112.8 kB / 0.8406 GB, free: 257.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/1.264, allocations: 12.88 kB / 0.8406 GB, free: 257.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/1.265, allocations: 1.978 MB / 0.8426 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.265, allocations: 11.72 kB / 0.8426 GB, free: 255.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/1.267, allocations: 1.429 MB / 0.844 GB, free: 254.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/1.267, allocations: 112.6 kB / 0.8441 GB, free: 254.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/1.267, allocations: 8 kB / 0.8441 GB, free: 254.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/1.267, allocations: 49.8 kB / 0.8441 GB, free: 254.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.268, allocations: 39.94 kB / 0.8442 GB, free: 254.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/1.268, allocations: 20.69 kB / 0.8442 GB, free: 254.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001704/1.268, allocations: 226 kB / 0.8444 GB, free: 254 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.268, allocations: 0 / 0.8444 GB, free: 254 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00629/1.274, allocations: 2.983 MB / 0.8473 GB, free: 251.4 MB / 0.5762 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,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.01252/1.287, allocations: 3.852 MB / 0.8511 GB, free: 248.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001842/1.288, allocations: 1.035 MB / 0.8521 GB, free: 247.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.288, allocations: 7.875 kB / 0.8521 GB, free: 247.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007487/1.289, allocations: 0.5578 MB / 0.8526 GB, free: 246.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/1.291, allocations: 380.1 kB / 0.853 GB, free: 246.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/1.293, allocations: 1.435 MB / 0.8544 GB, free: 244.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/1.293, allocations: 0.8607 MB / 0.8552 GB, free: 244 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003861/1.293, allocations: 131.9 kB / 0.8554 GB, free: 243.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/1.293, allocations: 39.44 kB / 0.8554 GB, free: 243.8 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/1.293, allocations: 0 / 0.8554 GB, free: 243.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1044/1.398, allocations: 111.5 MB / 0.9643 GB, free: 132.3 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1)