Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker") translateModel(ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7424/0.7424, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.454e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 31.98 MB / 236.8 MB, free: 5.457 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.TestLoopBreaker): time 1.416/1.548, allocations: 294.5 MB / 0.5188 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03333/1.581, allocations: 33.11 MB / 0.5511 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/1.581, allocations: 4 kB / 0.5511 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/1.581, allocations: 107.4 kB / 0.5512 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/1.582, allocations: 150.8 kB / 0.5514 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0151/1.597, allocations: 6.425 MB / 0.5577 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006053/1.597, allocations: 0.5792 MB / 0.5582 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/1.598, allocations: 241.5 kB / 0.5585 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/1.598, allocations: 199 kB / 0.5586 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/1.598, allocations: 187 kB / 0.5588 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/1.598, allocations: 16 kB / 0.5588 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02125/1.619, allocations: 14.96 MB / 0.5735 GB, free: 4.711 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/1.62, allocations: 71.58 kB / 0.5735 GB, free: 4.641 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/1.62, allocations: 252.4 kB / 0.5738 GB, free: 4.387 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/1.634, allocations: 7.719 MB / 0.5813 GB, free: 12.65 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.634, allocations: 0 / 0.5813 GB, free: 12.65 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/1.634, allocations: 0 / 0.5813 GB, free: 12.65 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.825e-05/1.634, allocations: 0 / 0.5813 GB, free: 12.65 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003221/1.637, allocations: 1.439 MB / 0.5827 GB, free: 11.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.637, allocations: 8.031 kB / 0.5827 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/1.637, allocations: 71.19 kB / 0.5828 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/1.637, allocations: 282.2 kB / 0.583 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/1.638, allocations: 37.84 kB / 0.5831 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/1.638, allocations: 48 kB / 0.5831 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/1.638, allocations: 0.6017 MB / 0.5837 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.638, allocations: 4 kB / 0.5837 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/1.638, allocations: 16 kB / 0.5837 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/1.638, allocations: 31.92 kB / 0.5838 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004643/1.639, allocations: 349.6 kB / 0.5841 GB, free: 9.637 MB / 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.002463/1.641, allocations: 3.809 MB / 0.5878 GB, free: 5.422 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/1.642, allocations: 203.3 kB / 0.588 GB, free: 5.215 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/1.642, allocations: 141.9 kB / 0.5881 GB, free: 5.074 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07329/1.715, allocations: 44.47 MB / 0.6316 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/1.715, allocations: 30.56 kB / 0.6316 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 2.034e-06/1.715, allocations: 7.938 kB / 0.6316 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55): time 0.001651/1.717, allocations: 0.8244 MB / 0.6324 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/1.717, allocations: 59.39 kB / 0.6325 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/1.717, allocations: 320.3 kB / 0.6328 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/1.717, allocations: 29.7 kB / 0.6328 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.717, allocations: 224.8 kB / 0.633 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.718, allocations: 181.3 kB / 0.6332 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/1.718, allocations: 53.69 kB / 0.6332 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/1.718, allocations: 350.8 kB / 0.6336 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/1.718, allocations: 104.6 kB / 0.6337 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/1.718, allocations: 218.4 kB / 0.6339 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/1.719, allocations: 377.1 kB / 0.6343 GB, free: 84 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.719, allocations: 4 kB / 0.6343 GB, free: 80 kB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007889/1.719, allocations: 0.5047 MB / 0.6347 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.719, allocations: 5.406 kB / 0.6348 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.719, allocations: 4 kB / 0.6348 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000524/1.72, allocations: 245.3 kB / 0.635 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/1.72, allocations: 47.94 kB / 0.635 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/1.722, allocations: 2.535 MB / 0.6375 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/1.722, allocations: 59.22 kB / 0.6376 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/1.722, allocations: 20.16 kB / 0.6376 GB, free: 12.46 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 14 (loopBreakerP.C2.b,loopBreakerP.C1.a,sink.C.a,mixer2_1.Ce1.a,mixer2_1.Cs.b,mixer2_1.Ce2.a,splitter2_1.Cs2.b,splitter2_1.Cs1.b,splitter2_1.Ce.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sourcePQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001661/1.722, allocations: 165.9 kB / 0.6377 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/1.722, allocations: 43.52 kB / 0.6378 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009838/1.723, allocations: 0.7996 MB / 0.6386 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007404/1.724, allocations: 0.5955 MB / 0.6391 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/1.724, allocations: 0 / 0.6391 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/1.724, allocations: 3.984 kB / 0.6392 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/1.726, allocations: 1.841 MB / 0.641 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.726, allocations: 4 kB / 0.641 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/1.727, allocations: 79.91 kB / 0.641 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/1.727, allocations: 270.7 kB / 0.6413 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/1.727, allocations: 19.94 kB / 0.6413 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/1.729, allocations: 2.549 MB / 0.6438 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.729, allocations: 7.938 kB / 0.6438 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008113/1.729, allocations: 0.8161 MB / 0.6446 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/1.73, allocations: 188.1 kB / 0.6448 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/1.73, allocations: 20 kB / 0.6448 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.73, allocations: 19.98 kB / 0.6448 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/1.73, allocations: 47.83 kB / 0.6449 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/1.73, allocations: 24 kB / 0.6449 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002307/1.73, allocations: 267.2 kB / 0.6451 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/1.73, allocations: 0 / 0.6451 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002418/1.733, allocations: 1.148 MB / 0.6463 GB, free: 3.109 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (52): * Single equations (assignments): 48 * 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): 1 system {(1,1,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.00415/1.737, allocations: 1.604 MB / 0.6478 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009691/1.738, allocations: 0.7027 MB / 0.6485 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.738, allocations: 0 / 0.6485 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005208/1.738, allocations: 408.7 kB / 0.6489 GB, free: 352 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.74, allocations: 212.8 kB / 0.6491 GB, free: 136 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/1.741, allocations: 1.392 MB / 0.6505 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/1.741, allocations: 0.8989 MB / 0.6513 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001716/1.742, allocations: 55.19 kB / 0.6514 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/1.742, allocations: 39.44 kB / 0.6514 GB, free: 13.65 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/1.742, allocations: 0 / 0.6514 GB, free: 13.65 MB / 0.545 GB Notification: Performance of Templates: time 0.05049/1.792, allocations: 42.63 MB / 0.6931 GB, free: 3.086 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.pipe 2>&1) Environment - environmentSimulation: