Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, 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.001678/0.001678, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.46/1.46, allocations: 205.1 MB / 222 MB, free: 4.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04201/0.04201, allocations: 9.088 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.001316/0.001316, allocations: 67.91 kB / 337.3 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09045, allocations: 48.17 MB / 385.5 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3257/0.4162, allocations: 144.1 MB / 0.5172 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3603/0.7765, allocations: 99.23 MB / 0.6141 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009606/0.7775, allocations: 6.5 kB / 0.6142 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004949/0.7826, allocations: 1.178 MB / 0.6153 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00468/0.7873, allocations: 1.462 MB / 0.6167 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08113/0.8685, allocations: 25.1 MB / 0.6412 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002637/0.8711, allocations: 1.827 MB / 0.643 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.8714, allocations: 92.36 kB / 0.6431 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01785/0.8892, allocations: 9.378 MB / 0.6523 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.8898, allocations: 387.2 kB / 0.6526 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.8899, allocations: 21.72 kB / 0.6527 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05036/0.9403, allocations: 28.19 MB / 0.6802 GB, free: 8.434 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.9407, allocations: 103.2 kB / 0.6803 GB, free: 8.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.9415, allocations: 284.2 kB / 0.6806 GB, free: 8.148 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04443/0.9859, allocations: 12.26 MB / 0.6925 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.392e-05/0.986, allocations: 0 / 0.6925 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.986, allocations: 3.938 kB / 0.6926 GB, free: 14.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.986, allocations: 0 / 0.6926 GB, free: 14.75 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.006918/0.9929, allocations: 2.28 MB / 0.6948 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.993, allocations: 12.03 kB / 0.6948 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006057/0.9937, allocations: 84.08 kB / 0.6949 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.9942, allocations: 329.8 kB / 0.6952 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.9942, allocations: 32.66 kB / 0.6952 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.9943, allocations: 35.28 kB / 0.6952 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.9957, allocations: 0.5844 MB / 0.6958 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.9957, allocations: 7.984 kB / 0.6958 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.9958, allocations: 19.98 kB / 0.6958 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.9958, allocations: 14.28 kB / 0.6959 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.9971, allocations: 0.5291 MB / 0.6964 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/1, allocations: 2.486 MB / 0.6988 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/1.001, allocations: 0.5003 MB / 0.6993 GB, free: 7.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/1.002, allocations: 334.3 kB / 0.6996 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3554/1.357, allocations: 121.8 MB / 0.8186 GB, free: 274.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/1.357, allocations: 39.62 kB / 0.8186 GB, free: 274.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.968e-06/1.357, allocations: 0.9375 kB / 0.8186 GB, free: 274.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.005874/1.363, allocations: 2.412 MB / 0.821 GB, free: 273.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/1.363, allocations: 55.88 kB / 0.821 GB, free: 273.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/1.364, allocations: 256.2 kB / 0.8213 GB, free: 273.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/1.364, allocations: 31.58 kB / 0.8213 GB, free: 273.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/1.364, allocations: 192.5 kB / 0.8215 GB, free: 273 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/1.364, allocations: 266.6 kB / 0.8217 GB, free: 272.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/1.364, allocations: 97.02 kB / 0.8218 GB, free: 272.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.261e-05/1.364, allocations: 360 kB / 0.8222 GB, free: 272.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/1.365, allocations: 270 kB / 0.8224 GB, free: 272.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/1.365, allocations: 395.8 kB / 0.8228 GB, free: 271.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000925/1.366, allocations: 0.6936 MB / 0.8235 GB, free: 271.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.366, allocations: 0 / 0.8235 GB, free: 271.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001345/1.367, allocations: 0.8094 MB / 0.8243 GB, free: 271.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.367, allocations: 7.875 kB / 0.8243 GB, free: 271.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.367, allocations: 0 / 0.8243 GB, free: 271.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/1.368, allocations: 111.7 kB / 0.8244 GB, free: 271 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/1.368, allocations: 105.9 kB / 0.8245 GB, free: 271 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09103/1.46, allocations: 24.68 MB / 0.8486 GB, free: 250.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/1.46, allocations: 60.34 kB / 0.8487 GB, free: 250.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/1.46, allocations: 21.02 kB / 0.8487 GB, free: 250.6 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 (47): * Single equations (assignments): 40 * 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, 2} * 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.0002609/1.46, allocations: 193.7 kB / 0.8489 GB, free: 250.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/1.46, allocations: 42.95 kB / 0.8489 GB, free: 250.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/1.462, allocations: 1.691 MB / 0.8505 GB, free: 248.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/1.462, allocations: 16.53 kB / 0.8506 GB, free: 248.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.462, allocations: 3.938 kB / 0.8506 GB, free: 248.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/1.463, allocations: 1.275 MB / 0.8518 GB, free: 247.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/1.466, allocations: 1.741 MB / 0.8535 GB, free: 245.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/1.466, allocations: 0 / 0.8535 GB, free: 245.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/1.466, allocations: 79.88 kB / 0.8536 GB, free: 245.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/1.466, allocations: 198.2 kB / 0.8538 GB, free: 245.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/1.466, allocations: 15.94 kB / 0.8538 GB, free: 245.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/1.467, allocations: 2.478 MB / 0.8562 GB, free: 242.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.467, allocations: 0 / 0.8562 GB, free: 242.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/1.469, allocations: 1.443 MB / 0.8576 GB, free: 241 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/1.469, allocations: 128.5 kB / 0.8577 GB, free: 240.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/1.469, allocations: 7.984 kB / 0.8578 GB, free: 240.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/1.47, allocations: 35.91 kB / 0.8578 GB, free: 240.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.47, allocations: 47.88 kB / 0.8578 GB, free: 240.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/1.47, allocations: 19.98 kB / 0.8579 GB, free: 240.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001832/1.47, allocations: 219.1 kB / 0.8581 GB, free: 240.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.47, allocations: 0 / 0.8581 GB, free: 240.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00665/1.477, allocations: 2.903 MB / 0.8609 GB, free: 238 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.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01381/1.491, allocations: 3.732 MB / 0.8645 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001916/1.492, allocations: 0.9892 MB / 0.8655 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.492, allocations: 0 / 0.8655 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007611/1.493, allocations: 0.5267 MB / 0.866 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/1.495, allocations: 378.5 kB / 0.8664 GB, free: 232.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/1.497, allocations: 1.393 MB / 0.8677 GB, free: 231.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/1.497, allocations: 0.8565 MB / 0.8686 GB, free: 230.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003943/1.497, allocations: 113.8 kB / 0.8687 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/1.498, allocations: 39.42 kB / 0.8687 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/1.498, allocations: 0 / 0.8687 GB, free: 230.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.116/1.614, allocations: 113.7 MB / 0.9798 GB, free: 116.4 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1)