Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.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.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8467/0.8467, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.567e-05/1.569e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1772, allocations: 31.98 MB / 236.8 MB, free: 5.199 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.TestLoopBreaker): time 1.721/1.898, allocations: 295.5 MB / 0.5198 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2029/2.101, allocations: 186.7 MB / 0.7021 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005453/2.102, allocations: 19.88 kB / 0.7022 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001952/2.102, allocations: 71.41 kB / 0.7022 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006434/2.103, allocations: 266 kB / 0.7025 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4128/2.516, allocations: 9.079 MB / 0.7113 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001589/2.517, allocations: 1.038 MB / 0.7124 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006688/2.518, allocations: 0.5476 MB / 0.7129 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/2.518, allocations: 347.4 kB / 0.7132 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/2.519, allocations: 406.8 kB / 0.7136 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/2.519, allocations: 44.69 kB / 0.7137 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0344/2.553, allocations: 16.9 MB / 0.7302 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/2.554, allocations: 165.1 kB / 0.7303 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008356/2.555, allocations: 494.8 kB / 0.7308 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0261/2.581, allocations: 9.289 MB / 0.7399 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/2.581, allocations: 2.688 kB / 0.7399 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.375e-06/2.581, allocations: 1.859 kB / 0.7399 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.677e-05/2.581, allocations: 0 / 0.7399 GB, free: 1.113 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.005588/2.586, allocations: 1.979 MB / 0.7418 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/2.586, allocations: 11.66 kB / 0.7418 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/2.587, allocations: 129.9 kB / 0.7419 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/2.587, allocations: 490 kB / 0.7424 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/2.587, allocations: 85.17 kB / 0.7425 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/2.587, allocations: 109.8 kB / 0.7426 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/2.589, allocations: 1.171 MB / 0.7437 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/2.589, allocations: 5.844 kB / 0.7437 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/2.589, allocations: 48.34 kB / 0.7438 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/2.589, allocations: 32.84 kB / 0.7438 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/2.59, allocations: 0.7122 MB / 0.7445 GB, free: 14.83 MB / 0.5919 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.08143/2.672, allocations: 39.07 MB / 0.7827 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/2.672, allocations: 238.2 kB / 0.7829 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/2.673, allocations: 136.3 kB / 0.783 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6248/3.297, allocations: 207.8 MB / 0.9859 GB, free: 450.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/3.297, allocations: 35.75 kB / 0.986 GB, free: 450 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=29): time 4.137e-06/3.297, allocations: 0 / 0.986 GB, free: 450 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29): time 0.002317/3.3, allocations: 0.9215 MB / 0.9869 GB, free: 449.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/3.3, allocations: 60.09 kB / 0.9869 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/3.301, allocations: 0.5535 MB / 0.9875 GB, free: 449.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/3.301, allocations: 34.23 kB / 0.9875 GB, free: 449.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/3.301, allocations: 0.5064 MB / 0.988 GB, free: 449.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/3.301, allocations: 112.5 kB / 0.9881 GB, free: 449.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/3.301, allocations: 81.12 kB / 0.9882 GB, free: 449.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.443e-05/3.301, allocations: 361.7 kB / 0.9885 GB, free: 448.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/3.301, allocations: 174 kB / 0.9887 GB, free: 448.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/3.302, allocations: 0.5155 MB / 0.9892 GB, free: 448.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007445/3.303, allocations: 0.7261 MB / 0.9899 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/3.303, allocations: 4.125 kB / 0.9899 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001544/3.304, allocations: 0.8932 MB / 0.9908 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/3.304, allocations: 11.09 kB / 0.9908 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/3.304, allocations: 12.62 kB / 0.9908 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006816/3.305, allocations: 178.8 kB / 0.991 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/3.305, allocations: 143.5 kB / 0.9911 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/3.307, allocations: 2.694 MB / 0.9938 GB, free: 445.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/3.308, allocations: 125 kB / 0.9939 GB, free: 445.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/3.308, allocations: 46.67 kB / 0.9939 GB, free: 445.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 22 (splitter2_1.Cs2.ftype,mixer2_1.Cs.ftype,splitter2_1.Cs1.ftype,mixer2_1.fluids[1],sourcePQ.C.ftype,splitter2_1.fluids[1],singularPressureLoss1.fluid,singularPressureLoss2.fluid,sink.fluid,mixer2_1.fluid1,splitter2_1.fluid1,sourcePQ.fluid1,mixer2_1.Ce2.diff_on_2,splitter2_1.Cs2.diff_on_2,splitter2_1.Cs2.diff_on_1,loopBreakerP.C2.diff_on_1,mixer2_1.Cs.diff_on_1,mixer2_1.Ce1.diff_on_2,splitter2_1.Cs1.diff_on_2,splitter2_1.Cs1.diff_on_1,mixer2_1.Ce1.diff_on_1,splitter2_1.Ce.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000363/3.308, allocations: 245.7 kB / 0.9941 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/3.308, allocations: 56.06 kB / 0.9942 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/3.309, allocations: 0.5182 MB / 0.9947 GB, free: 445 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/3.309, allocations: 2.594 kB / 0.9947 GB, free: 445 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/3.309, allocations: 0 / 0.9947 GB, free: 445 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/3.309, allocations: 12.06 kB / 0.9947 GB, free: 445 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/3.311, allocations: 1.289 MB / 0.996 GB, free: 444.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/3.311, allocations: 6.812 kB / 0.996 GB, free: 444.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/3.312, allocations: 34.09 kB / 0.996 GB, free: 444.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/3.312, allocations: 145.1 kB / 0.9962 GB, free: 444.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/3.312, allocations: 10.44 kB / 0.9962 GB, free: 444.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/3.314, allocations: 2.654 MB / 0.9988 GB, free: 442.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/3.314, allocations: 3.359 kB / 0.9988 GB, free: 442.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/3.315, allocations: 0.5705 MB / 0.9993 GB, free: 441.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/3.315, allocations: 167.1 kB / 0.9995 GB, free: 441.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/3.315, allocations: 8.531 kB / 0.9995 GB, free: 441.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/3.315, allocations: 48.52 kB / 0.9995 GB, free: 441.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/3.315, allocations: 33.3 kB / 0.9996 GB, free: 441.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/3.315, allocations: 20.78 kB / 0.9996 GB, free: 441.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003849/3.316, allocations: 358.4 kB / 0.9999 GB, free: 441.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/3.316, allocations: 0 / 0.9999 GB, free: 441.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004392/3.32, allocations: 1.411 MB / 1.001 GB, free: 441.6 MB / 0.8106 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 (18): * Single equations (assignments): 15 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006235/3.326, allocations: 1.946 MB / 1.003 GB, free: 441.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00125/3.328, allocations: 0.5527 MB / 1.004 GB, free: 441.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/3.328, allocations: 7.531 kB / 1.004 GB, free: 441.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/3.328, allocations: 268.2 kB / 1.004 GB, free: 441 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/3.329, allocations: 149 kB / 1.004 GB, free: 441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/3.331, allocations: 1.592 MB / 1.006 GB, free: 440 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/3.331, allocations: 0.9565 MB / 1.007 GB, free: 439.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003433/3.332, allocations: 100 kB / 1.007 GB, free: 439.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/3.332, allocations: 44.03 kB / 1.007 GB, free: 439.2 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/3.332, allocations: 4 kB / 1.007 GB, free: 439.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.0522/3.384, allocations: 44.91 MB / 1.051 GB, free: 406.2 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestLoopBreaker.pipe 2>&1) Environment - environmentSimulation: