Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8673/0.8673, allocations: 150.8 MB / 166.1 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.919e-05, allocations: 4 kB / 204.8 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1846, allocations: 31.98 MB / 236.8 MB, free: 5.441 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger): time 1.695/1.879, allocations: 298.1 MB / 0.5223 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6434/2.523, allocations: 199.9 MB / 0.7176 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/2.524, allocations: 26.03 kB / 0.7176 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008571/2.525, allocations: 330.1 kB / 0.7179 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002267/2.527, allocations: 0.993 MB / 0.7189 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03858/2.566, allocations: 12.12 MB / 0.7307 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008611/2.574, allocations: 8.636 MB / 0.7392 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003804/2.578, allocations: 2.202 MB / 0.7413 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003753/2.582, allocations: 2.086 MB / 0.7434 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004305/2.586, allocations: 2.851 MB / 0.7461 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006755/2.587, allocations: 223.5 kB / 0.7463 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04963/2.637, allocations: 24.57 MB / 0.7703 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002869/2.639, allocations: 1.498 MB / 0.7718 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007896/2.647, allocations: 2.089 MB / 0.7738 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04801/2.695, allocations: 18.15 MB / 0.7916 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/2.696, allocations: 3.938 kB / 0.7916 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/2.696, allocations: 3.938 kB / 0.7916 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002027/2.696, allocations: 0 / 0.7916 GB, free: 13.26 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.02323/2.719, allocations: 6.095 MB / 0.7975 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/2.719, allocations: 8.031 kB / 0.7975 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/2.722, allocations: 407.5 kB / 0.7979 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/2.727, allocations: 1.943 MB / 0.7998 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001706/2.729, allocations: 1.215 MB / 0.801 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/2.73, allocations: 304 kB / 0.8013 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/2.749, allocations: 7.465 MB / 0.8086 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-05/2.749, allocations: 6.375 kB / 0.8086 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004932/2.749, allocations: 128 kB / 0.8087 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.589e-05/2.75, allocations: 112 kB / 0.8088 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02681/2.776, allocations: 11.49 MB / 0.8201 GB, free: 15.87 MB / 0.6387 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.2295/3.006, allocations: 119.8 MB / 0.937 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02402/3.03, allocations: 8.331 MB / 0.9451 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01237/3.042, allocations: 5.197 MB / 0.9502 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9525/3.995, allocations: 417.8 MB / 1.358 GB, free: 36.64 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.358e-05/3.995, allocations: 73.38 kB / 1.358 GB, free: 36.58 MB / 0.795 GB Notification: Performance of pre-optimization done (n=654): time 5.77e-06/3.995, allocations: 4 kB / 1.358 GB, free: 36.58 MB / 0.795 GB Notification: Performance of matching and sorting (n=654): time 0.05029/4.045, allocations: 19.19 MB / 1.377 GB, free: 17.62 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/4.045, allocations: 94.84 kB / 1.377 GB, free: 17.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/4.047, allocations: 1.008 MB / 1.378 GB, free: 16.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001202/4.048, allocations: 97.7 kB / 1.378 GB, free: 16.4 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/4.049, allocations: 0.7878 MB / 1.379 GB, free: 15.62 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002484/4.051, allocations: 2.158 MB / 1.381 GB, free: 13.48 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/4.053, allocations: 426.1 kB / 1.381 GB, free: 13.06 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/4.053, allocations: 305.1 kB / 1.382 GB, free: 12.76 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/4.063, allocations: 4.463 MB / 1.386 GB, free: 8.293 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/4.073, allocations: 5.128 MB / 1.391 GB, free: 2.992 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2491/4.322, allocations: 9.729 MB / 1.401 GB, free: 429.6 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/4.322, allocations: 7.219 kB / 1.401 GB, free: 429.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.04456/4.367, allocations: 15.27 MB / 1.416 GB, free: 429.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/4.367, allocations: 11.44 kB / 1.416 GB, free: 429.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.648e-05/4.367, allocations: 36.66 kB / 1.416 GB, free: 429.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08684/4.454, allocations: 22.27 MB / 1.437 GB, free: 427 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/4.455, allocations: 228.2 kB / 1.438 GB, free: 426.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04812/4.503, allocations: 17.82 MB / 1.455 GB, free: 409.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006758/4.51, allocations: 0.9676 MB / 1.456 GB, free: 408.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/4.512, allocations: 211.8 kB / 1.456 GB, free: 408.5 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,sinkP.fluid,dynamicMultiFluidHeatExchanger.ExchangerMultiFluids.fluid,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.C1.diff_on_2,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.C2.diff_on_1,dynamicMultiFluidHeatExchanger.ExchangerMultiFluids.C1.diff_on_2,dynamicMultiFluidHeatExchanger.ExchangerMultiFluids.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(22,372)} Notification: Performance of prepare postOptimizeDAE: time 0.005169/4.517, allocations: 1.008 MB / 1.457 GB, free: 407.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/4.519, allocations: 288.4 kB / 1.457 GB, free: 407.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04778/4.567, allocations: 17.31 MB / 1.474 GB, free: 389.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04209/4.609, allocations: 14.99 MB / 1.489 GB, free: 374.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/4.609, allocations: 0 / 1.489 GB, free: 374.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000186/4.61, allocations: 29.06 kB / 1.489 GB, free: 374.8 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07278/4.682, allocations: 28.62 MB / 1.517 GB, free: 346 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001149/4.683, allocations: 15.98 kB / 1.517 GB, free: 346 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/4.684, allocations: 291.9 kB / 1.517 GB, free: 345.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07761/4.761, allocations: 20.52 MB / 1.537 GB, free: 325.2 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002162/4.763, allocations: 164.5 kB / 1.537 GB, free: 325 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03837/4.802, allocations: 16.83 MB / 1.554 GB, free: 308.1 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/4.802, allocations: 11.92 kB / 1.554 GB, free: 308.1 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04364/4.846, allocations: 16.75 MB / 1.57 GB, free: 291.1 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003839/4.849, allocations: 1.315 MB / 1.571 GB, free: 289.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001862/4.851, allocations: 97 kB / 1.572 GB, free: 289.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005896/4.857, allocations: 0.6749 MB / 1.572 GB, free: 289 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00181/4.859, allocations: 335.6 kB / 1.573 GB, free: 288.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00157/4.861, allocations: 207.5 kB / 1.573 GB, free: 288.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001416/4.862, allocations: 0.7391 MB / 1.573 GB, free: 287.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/4.862, allocations: 0 / 1.573 GB, free: 287.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01243/4.875, allocations: 3.161 MB / 1.577 GB, free: 284.8 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * 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 (159): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(22,371)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0115/4.886, allocations: 3.297 MB / 1.58 GB, free: 282.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02555/4.912, allocations: 11.81 MB / 1.591 GB, free: 270.1 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/4.912, allocations: 448 / 1.591 GB, free: 270.1 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01368/4.925, allocations: 6.245 MB / 1.597 GB, free: 263.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007499/4.933, allocations: 1.1 MB / 1.598 GB, free: 262.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03444/4.967, allocations: 15.42 MB / 1.614 GB, free: 247.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003381/4.971, allocations: 2.591 MB / 1.616 GB, free: 244.7 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002221/4.973, allocations: 0.5529 MB / 1.617 GB, free: 244.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/4.974, allocations: 143.4 kB / 1.617 GB, free: 244 MB / 0.795 GB Notification: Performance of SimCode: time 1.363e-06/4.974, allocations: 0 / 1.617 GB, free: 244 MB / 0.795 GB Notification: Performance of Templates: time 0.4579/5.431, allocations: 191.5 MB / 1.804 GB, free: 288.7 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicWaterSteamMultiFluidHeatExchanger.pipe 2>&1) Environment - environmentSimulation: