Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.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.TestDynamicMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9197/0.9197, allocations: 150.8 MB / 166.1 MB, free: 15.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.145e-05, allocations: 4 kB / 204.8 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1886, allocations: 31.98 MB / 236.8 MB, free: 5.645 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.TestDynamicMultiFluidHeatExchanger): time 1.799/1.988, allocations: 297.1 MB / 0.5213 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6513/2.639, allocations: 195.4 MB / 0.7121 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/2.641, allocations: 26.38 kB / 0.7121 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000536/2.641, allocations: 191.2 kB / 0.7123 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/2.643, allocations: 0.7998 MB / 0.7131 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03824/2.681, allocations: 11.32 MB / 0.7242 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006866/2.688, allocations: 6.232 MB / 0.7302 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/2.691, allocations: 1.607 MB / 0.7318 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/2.694, allocations: 1.364 MB / 0.7332 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003875/2.698, allocations: 2.032 MB / 0.7351 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00127/2.7, allocations: 165.9 kB / 0.7353 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05068/2.75, allocations: 23.2 MB / 0.758 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002248/2.753, allocations: 1.116 MB / 0.759 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004362/2.757, allocations: 1.472 MB / 0.7605 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04538/2.802, allocations: 15.71 MB / 0.7758 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/2.802, allocations: 4 kB / 0.7758 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.755e-06/2.802, allocations: 0 / 0.7758 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001917/2.803, allocations: 0 / 0.7758 GB, free: 7.305 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 662 * Number of variables: 662 Notification: Performance of Generate backend data structure: time 0.01818/2.821, allocations: 4.207 MB / 0.7799 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/2.821, allocations: 12.03 kB / 0.7799 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/2.822, allocations: 296.7 kB / 0.7802 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/2.826, allocations: 1.561 MB / 0.7818 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005836/2.827, allocations: 442.8 kB / 0.7822 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/2.828, allocations: 246.4 kB / 0.7824 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008981/2.837, allocations: 4.417 MB / 0.7867 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.495e-05/2.837, allocations: 2.906 kB / 0.7867 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003142/2.837, allocations: 106.4 kB / 0.7868 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/2.837, allocations: 64 kB / 0.7869 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/2.85, allocations: 7.893 MB / 0.7946 GB, free: 6.391 MB / 0.6075 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.2077/3.057, allocations: 112.4 MB / 0.9044 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/3.071, allocations: 5.314 MB / 0.9096 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005348/3.077, allocations: 2.362 MB / 0.9119 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467/4.544, allocations: 364.2 MB / 1.268 GB, free: 254.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/4.544, allocations: 65.19 kB / 1.268 GB, free: 254.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=324): time 4.789e-06/4.544, allocations: 0 / 1.268 GB, free: 254.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=324): time 0.01536/4.559, allocations: 8.185 MB / 1.276 GB, free: 254.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/4.559, allocations: 89.52 kB / 1.276 GB, free: 254.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/4.561, allocations: 0.9903 MB / 1.277 GB, free: 254 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/4.561, allocations: 78.45 kB / 1.277 GB, free: 254 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/4.561, allocations: 0.7369 MB / 1.277 GB, free: 253.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008035/4.562, allocations: 1.099 MB / 1.279 GB, free: 253 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000363/4.562, allocations: 250.9 kB / 1.279 GB, free: 252.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.442e-05/4.563, allocations: 302.8 kB / 1.279 GB, free: 252.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/4.566, allocations: 1.932 MB / 1.281 GB, free: 252.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003329/4.569, allocations: 2.397 MB / 1.283 GB, free: 252.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007199/4.576, allocations: 4.665 MB / 1.288 GB, free: 251.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/4.576, allocations: 2.875 kB / 1.288 GB, free: 251.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01353/4.59, allocations: 6.886 MB / 1.295 GB, free: 251.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/4.59, allocations: 11.59 kB / 1.295 GB, free: 251.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/4.59, allocations: 9.688 kB / 1.295 GB, free: 251.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04763/4.638, allocations: 10.01 MB / 1.304 GB, free: 249.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007773/4.638, allocations: 209.8 kB / 1.305 GB, free: 249.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/4.655, allocations: 7.933 MB / 1.312 GB, free: 245.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/4.658, allocations: 320 kB / 1.313 GB, free: 245 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006362/4.659, allocations: 152.9 kB / 1.313 GB, free: 244.8 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,sinkP.fluid,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_2.fluid,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_1.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_1.C1.diff_on_2,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_1.C2.diff_on_1,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_2.C1.diff_on_2,dynamicMultiFluidHeatExchanger.DynamicOnePhaseFlowPipe_2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,251)} Notification: Performance of prepare postOptimizeDAE: time 0.0014/4.66, allocations: 0.6676 MB / 1.313 GB, free: 244.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/4.661, allocations: 205.6 kB / 1.314 GB, free: 244.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/4.676, allocations: 7.831 MB / 1.321 GB, free: 238.2 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/4.676, allocations: 32 kB / 1.321 GB, free: 238.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/4.676, allocations: 4 kB / 1.321 GB, free: 238.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/4.676, allocations: 15.94 kB / 1.321 GB, free: 238.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/4.696, allocations: 12.11 MB / 1.333 GB, free: 226 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/4.696, allocations: 0 / 1.333 GB, free: 226 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/4.696, allocations: 112.5 kB / 1.333 GB, free: 225.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04401/4.74, allocations: 8.739 MB / 1.342 GB, free: 217.1 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/4.741, allocations: 95.94 kB / 1.342 GB, free: 217.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/4.757, allocations: 7.775 MB / 1.349 GB, free: 209.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/4.757, allocations: 0 / 1.349 GB, free: 209.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/4.772, allocations: 6.522 MB / 1.356 GB, free: 202.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/4.774, allocations: 0.8023 MB / 1.357 GB, free: 201.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006303/4.774, allocations: 55.98 kB / 1.357 GB, free: 201.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/4.776, allocations: 123.8 kB / 1.357 GB, free: 201.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005891/4.777, allocations: 194.2 kB / 1.357 GB, free: 201.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003664/4.777, allocations: 119.9 kB / 1.357 GB, free: 201.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0011/4.779, allocations: 0.6754 MB / 1.358 GB, free: 200.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.71e-07/4.779, allocations: 0 / 1.358 GB, free: 200.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.01029/4.789, allocations: 2.637 MB / 1.36 GB, free: 198.2 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,245)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01478/4.804, allocations: 3.076 MB / 1.363 GB, free: 195.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01302/4.817, allocations: 4.913 MB / 1.368 GB, free: 190.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/4.817, allocations: 0.9375 kB / 1.368 GB, free: 190.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.006967/4.824, allocations: 2.649 MB / 1.371 GB, free: 188.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/4.828, allocations: 440.5 kB / 1.371 GB, free: 187.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/4.84, allocations: 6.304 MB / 1.377 GB, free: 181.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/4.842, allocations: 1.705 MB / 1.379 GB, free: 179.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001522/4.843, allocations: 441.3 kB / 1.379 GB, free: 179.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/4.843, allocations: 103.4 kB / 1.379 GB, free: 179.2 MB / 0.8419 GB Notification: Performance of SimCode: time 1.332e-06/4.843, allocations: 4 kB / 1.379 GB, free: 179.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.1492/4.993, allocations: 120.3 MB / 1.497 GB, free: 59.32 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchanger.pipe 2>&1) Environment - environmentSimulation: