Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.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.Examples.SimpleExamples.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7448/0.7448, allocations: 150.8 MB / 166.1 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.317e-05/1.318e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1317, allocations: 31.98 MB / 236.8 MB, free: 5.449 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.Examples.SimpleExamples.TestJunctions4): time 1.424/1.555, allocations: 294.6 MB / 0.5189 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03781/1.593, allocations: 37.24 MB / 0.5553 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/1.593, allocations: 4 kB / 0.5553 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/1.594, allocations: 111.3 kB / 0.5554 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/1.594, allocations: 158.7 kB / 0.5555 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01797/1.612, allocations: 7.363 MB / 0.5627 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007522/1.613, allocations: 0.6259 MB / 0.5633 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/1.613, allocations: 225.5 kB / 0.5636 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/1.613, allocations: 214.9 kB / 0.5638 GB, free: 14.63 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/1.614, allocations: 202.9 kB / 0.564 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/1.614, allocations: 16 kB / 0.564 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02543/1.639, allocations: 17.81 MB / 0.5814 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.728e-05/1.639, allocations: 67.64 kB / 0.5814 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/1.639, allocations: 272.3 kB / 0.5817 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/1.654, allocations: 8.627 MB / 0.5901 GB, free: 3.594 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.654, allocations: 0 / 0.5901 GB, free: 3.594 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.794e-06/1.654, allocations: 0 / 0.5901 GB, free: 3.594 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/1.654, allocations: 0 / 0.5901 GB, free: 3.594 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003493/1.658, allocations: 1.579 MB / 0.5917 GB, free: 1.961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/1.658, allocations: 8.031 kB / 0.5917 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.636e-05/1.658, allocations: 63.28 kB / 0.5917 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/1.658, allocations: 304.2 kB / 0.592 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.8e-05/1.658, allocations: 62.7 kB / 0.5921 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/1.659, allocations: 40 kB / 0.5921 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/1.659, allocations: 0.5962 MB / 0.5927 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.659, allocations: 0 / 0.5927 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/1.659, allocations: 20 kB / 0.5927 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/1.659, allocations: 31.91 kB / 0.5927 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/1.66, allocations: 352 kB / 0.5931 GB, free: 420 kB / 478.1 MB 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.01909/1.679, allocations: 12 MB / 0.6048 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/1.679, allocations: 251 kB / 0.605 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/1.68, allocations: 177.9 kB / 0.6052 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3678/2.047, allocations: 120.1 MB / 0.7225 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/2.047, allocations: 34.38 kB / 0.7225 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 2.073e-06/2.047, allocations: 4 kB / 0.7225 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.002278/2.05, allocations: 1.139 MB / 0.7236 GB, free: 211.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/2.05, allocations: 51.41 kB / 0.7237 GB, free: 211.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/2.05, allocations: 288.8 kB / 0.7239 GB, free: 211.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/2.05, allocations: 32.61 kB / 0.724 GB, free: 211.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/2.05, allocations: 229.8 kB / 0.7242 GB, free: 211.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.755e-05/2.05, allocations: 215.2 kB / 0.7244 GB, free: 211 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/2.05, allocations: 54.47 kB / 0.7244 GB, free: 211 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/2.05, allocations: 357.9 kB / 0.7248 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/2.051, allocations: 123.3 kB / 0.7249 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/2.051, allocations: 229.7 kB / 0.7251 GB, free: 210.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/2.051, allocations: 408.3 kB / 0.7255 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/2.051, allocations: 0 / 0.7255 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008462/2.052, allocations: 0.6192 MB / 0.7261 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/2.052, allocations: 7.562 kB / 0.7261 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/2.052, allocations: 3.781 kB / 0.7261 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/2.054, allocations: 0.6172 MB / 0.7267 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.905e-05/2.054, allocations: 14.22 kB / 0.7267 GB, free: 210.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/2.055, allocations: 2.014 MB / 0.7287 GB, free: 208.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/2.055, allocations: 61.52 kB / 0.7288 GB, free: 208.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/2.055, allocations: 15.75 kB / 0.7288 GB, free: 208.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (source.C.b,sourceP.C.b,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,deheaterMixer2_1.Ce.a,deheaterMixer2_1.Cs.b,deheaterMixer2_1.Ce_mix.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001404/2.055, allocations: 168.4 kB / 0.7289 GB, free: 208.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/2.055, allocations: 37.41 kB / 0.729 GB, free: 208.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/2.056, allocations: 1.453 MB / 0.7304 GB, free: 208.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008032/2.057, allocations: 0.7547 MB / 0.7311 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.057, allocations: 3.938 kB / 0.7311 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/2.057, allocations: 4.859 kB / 0.7311 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/2.059, allocations: 1.858 MB / 0.733 GB, free: 207.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/2.059, allocations: 0 / 0.733 GB, free: 207.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/2.059, allocations: 66.72 kB / 0.733 GB, free: 207.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/2.06, allocations: 0.5929 MB / 0.7336 GB, free: 207.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/2.06, allocations: 11.59 kB / 0.7336 GB, free: 207.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009878/2.061, allocations: 2.076 MB / 0.7356 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/2.061, allocations: 0.625 kB / 0.7356 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/2.062, allocations: 0.9096 MB / 0.7365 GB, free: 205.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/2.063, allocations: 183 kB / 0.7367 GB, free: 205.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/2.063, allocations: 12.69 kB / 0.7367 GB, free: 205.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/2.063, allocations: 17.69 kB / 0.7367 GB, free: 205.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/2.063, allocations: 37.31 kB / 0.7368 GB, free: 205.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/2.063, allocations: 13.84 kB / 0.7368 GB, free: 205.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001724/2.063, allocations: 243.7 kB / 0.737 GB, free: 205 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.063, allocations: 0 / 0.737 GB, free: 205 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002368/2.066, allocations: 1.268 MB / 0.7383 GB, free: 204.3 MB / 0.5762 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 (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003791/2.069, allocations: 1.774 MB / 0.74 GB, free: 202.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001044/2.07, allocations: 0.7033 MB / 0.7407 GB, free: 202.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/2.07, allocations: 0 / 0.7407 GB, free: 202.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006044/2.071, allocations: 375.5 kB / 0.741 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/2.072, allocations: 236.5 kB / 0.7413 GB, free: 201.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/2.073, allocations: 1.393 MB / 0.7426 GB, free: 200.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/2.074, allocations: 0.9145 MB / 0.7435 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000139/2.074, allocations: 42.33 kB / 0.7436 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/2.074, allocations: 31.44 kB / 0.7436 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/2.074, allocations: 0 / 0.7436 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.04444/2.118, allocations: 47.36 MB / 0.7898 GB, free: 153 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions4.pipe 2>&1) Environment - environmentSimulation: