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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.08313/0.08313, allocations: 9.089 MB / 25.82 MB, free: 3.426 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 95.53 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 55.86 kB / 341.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2925, allocations: 48.16 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.4108/0.7033, allocations: 144.1 MB / 0.5209 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.08802/0.7914, allocations: 99.26 MB / 0.6178 GB, free: 15.65 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000568/0.792, allocations: 7.938 kB / 0.6178 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.7952, allocations: 1.171 MB / 0.619 GB, free: 14.47 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.7992, allocations: 1.466 MB / 0.6204 GB, free: 13 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.07973/0.879, allocations: 25.1 MB / 0.6449 GB, free: 3.809 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002252/0.8813, allocations: 1.835 MB / 0.6467 GB, free: 1.969 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.8816, allocations: 93.7 kB / 0.6468 GB, free: 1.879 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01741/0.899, allocations: 9.375 MB / 0.6559 GB, free: 8.484 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007351/0.8998, allocations: 390.4 kB / 0.6563 GB, free: 8.102 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.8999, allocations: 24 kB / 0.6563 GB, free: 8.078 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3684/1.268, allocations: 28.19 MB / 0.6839 GB, free: 40.67 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002486/1.269, allocations: 102.2 kB / 0.684 GB, free: 40.67 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005747/1.269, allocations: 286.5 kB / 0.6842 GB, free: 40.67 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03988/1.309, allocations: 12.25 MB / 0.6962 GB, free: 40.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.309, allocations: 0 / 0.6962 GB, free: 40.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.309, allocations: 0 / 0.6962 GB, free: 40.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/1.309, allocations: 3.031 kB / 0.6962 GB, free: 40.6 MB / 490.7 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.007178/1.316, allocations: 2.288 MB / 0.6984 GB, free: 39.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.316, allocations: 8.906 kB / 0.6984 GB, free: 39.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/1.317, allocations: 80.23 kB / 0.6985 GB, free: 39.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/1.317, allocations: 333.2 kB / 0.6988 GB, free: 39.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/1.318, allocations: 30.34 kB / 0.6989 GB, free: 39.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/1.318, allocations: 31.38 kB / 0.6989 GB, free: 39.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.319, allocations: 0.593 MB / 0.6995 GB, free: 39.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/1.319, allocations: 3.906 kB / 0.6995 GB, free: 39.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/1.319, allocations: 14.16 kB / 0.6995 GB, free: 39.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/1.319, allocations: 18.98 kB / 0.6995 GB, free: 39.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/1.32, allocations: 0.5204 MB / 0.7 GB, free: 39.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/1.322, allocations: 2.493 MB / 0.7025 GB, free: 37.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/1.323, allocations: 0.4996 MB / 0.7029 GB, free: 37.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/1.324, allocations: 334.2 kB / 0.7033 GB, free: 37.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.195/1.519, allocations: 121.8 MB / 0.8222 GB, free: 22.06 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.075e-05/1.519, allocations: 38.34 kB / 0.8223 GB, free: 22.02 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 4.638e-06/1.519, allocations: 0.5156 kB / 0.8223 GB, free: 22.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=82): time 0.006265/1.525, allocations: 2.412 MB / 0.8246 GB, free: 20.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/1.525, allocations: 57.47 kB / 0.8247 GB, free: 20.05 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/1.525, allocations: 266.5 kB / 0.8249 GB, free: 19.82 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/1.526, allocations: 29.64 kB / 0.825 GB, free: 19.79 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/1.526, allocations: 192.5 kB / 0.8252 GB, free: 19.63 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/1.526, allocations: 259.4 kB / 0.8254 GB, free: 19.41 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/1.526, allocations: 106.2 kB / 0.8255 GB, free: 19.34 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.526, allocations: 348.3 kB / 0.8258 GB, free: 19.01 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/1.527, allocations: 275.3 kB / 0.8261 GB, free: 18.85 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/1.527, allocations: 400.8 kB / 0.8265 GB, free: 18.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009544/1.528, allocations: 0.6936 MB / 0.8272 GB, free: 18.07 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.528, allocations: 0 / 0.8272 GB, free: 18.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001393/1.529, allocations: 0.8038 MB / 0.8279 GB, free: 17.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.529, allocations: 10.73 kB / 0.828 GB, free: 17.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.529, allocations: 5.875 kB / 0.828 GB, free: 17.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005069/1.53, allocations: 108.1 kB / 0.8281 GB, free: 17.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/1.53, allocations: 110 kB / 0.8282 GB, free: 17.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09353/1.624, allocations: 24.69 MB / 0.8523 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/1.625, allocations: 35.78 kB / 0.8523 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/1.625, allocations: 22.47 kB / 0.8523 GB, free: 8.438 MB / 0.5886 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.0003298/1.625, allocations: 192.6 kB / 0.8525 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/1.625, allocations: 47.38 kB / 0.8526 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/1.627, allocations: 1.702 MB / 0.8542 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/1.628, allocations: 7.5 kB / 0.8542 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.628, allocations: 0 / 0.8542 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001567/1.629, allocations: 1.273 MB / 0.8555 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/1.632, allocations: 1.75 MB / 0.8572 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.632, allocations: 0 / 0.8572 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/1.632, allocations: 73.95 kB / 0.8573 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/1.633, allocations: 195.9 kB / 0.8574 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/1.633, allocations: 10.88 kB / 0.8574 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/1.634, allocations: 2.489 MB / 0.8599 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.634, allocations: 0 / 0.8599 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3109/1.945, allocations: 21.24 MB / 0.8806 GB, free: 326.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/1.945, allocations: 120 kB / 0.8807 GB, free: 326.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/1.946, allocations: 19.41 kB / 0.8808 GB, free: 326.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/1.946, allocations: 42.69 kB / 0.8808 GB, free: 326.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.946, allocations: 43.83 kB / 0.8808 GB, free: 326.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/1.946, allocations: 16.16 kB / 0.8809 GB, free: 326.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002935/1.946, allocations: 219.6 kB / 0.8811 GB, free: 326 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/1.946, allocations: 1.25 kB / 0.8811 GB, free: 326 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01508/1.962, allocations: 3.334 MB / 0.8843 GB, free: 326 MB / 0.6042 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.02291/1.984, allocations: 4.088 MB / 0.8883 GB, free: 325.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002336/1.987, allocations: 0.9869 MB / 0.8893 GB, free: 325.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.987, allocations: 3.656 kB / 0.8893 GB, free: 325.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008029/1.988, allocations: 0.5162 MB / 0.8898 GB, free: 325.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/1.99, allocations: 385.8 kB / 0.8902 GB, free: 325.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/1.993, allocations: 2.049 MB / 0.8922 GB, free: 324.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/1.993, allocations: 0.878 MB / 0.893 GB, free: 323.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004711/1.993, allocations: 120.5 kB / 0.8931 GB, free: 323.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/1.994, allocations: 45.06 kB / 0.8932 GB, free: 323.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.713e-06/1.994, allocations: 3.562 kB / 0.8932 GB, free: 323.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.1929/2.186, allocations: 129.5 MB / 1.02 GB, free: 203.3 MB / 0.6042 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)