Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1.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.TestJunctions1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7446/0.7446, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.408e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 31.97 MB / 236.8 MB, free: 5.445 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.TestJunctions1): time 1.403/1.536, allocations: 297.1 MB / 0.5214 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03992/1.576, allocations: 37.88 MB / 0.5584 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/1.576, allocations: 8 kB / 0.5584 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/1.577, allocations: 190.7 kB / 0.5586 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006171/1.577, allocations: 365.1 kB / 0.5589 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01807/1.595, allocations: 7.532 MB / 0.5663 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/1.597, allocations: 1.428 MB / 0.5677 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005651/1.597, allocations: 0.5214 MB / 0.5682 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004821/1.598, allocations: 481.7 kB / 0.5686 GB, free: 9.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/1.598, allocations: 457.4 kB / 0.5691 GB, free: 9.219 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.173e-05/1.598, allocations: 44 kB / 0.5691 GB, free: 9.176 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02565/1.624, allocations: 17.83 MB / 0.5865 GB, free: 7.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/1.624, allocations: 159.1 kB / 0.5867 GB, free: 7.164 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005765/1.625, allocations: 0.5805 MB / 0.5872 GB, free: 6.574 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01613/1.641, allocations: 9.335 MB / 0.5963 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.641, allocations: 0 / 0.5963 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/1.641, allocations: 0 / 0.5963 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.674e-05/1.641, allocations: 0 / 0.5963 GB, free: 13.21 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.004356/1.645, allocations: 2.08 MB / 0.5984 GB, free: 11.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/1.645, allocations: 8.031 kB / 0.5984 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/1.646, allocations: 142.2 kB / 0.5985 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/1.646, allocations: 485.3 kB / 0.599 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/1.646, allocations: 94.05 kB / 0.5991 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/1.646, allocations: 100 kB / 0.5992 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/1.648, allocations: 1.334 MB / 0.6005 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/1.648, allocations: 7.938 kB / 0.6005 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/1.648, allocations: 44 kB / 0.6005 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/1.648, allocations: 55.97 kB / 0.6006 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.649, allocations: 0.8013 MB / 0.6014 GB, free: 7.859 MB / 494.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.0394/1.689, allocations: 25.03 MB / 0.6258 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/1.69, allocations: 0.5467 MB / 0.6263 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/1.69, allocations: 387.9 kB / 0.6267 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2893/1.98, allocations: 77.93 MB / 0.7028 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/1.98, allocations: 40.28 kB / 0.7028 GB, free: 222 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=145): time 2.334e-06/1.98, allocations: 0 / 0.7028 GB, free: 222 MB / 0.5762 GB Notification: Performance of matching and sorting (n=145): time 0.004207/1.984, allocations: 2.438 MB / 0.7052 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/1.984, allocations: 82.36 kB / 0.7053 GB, free: 221 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/1.984, allocations: 0.5861 MB / 0.7059 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/1.984, allocations: 33.14 kB / 0.7059 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/1.985, allocations: 438.4 kB / 0.7063 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/1.985, allocations: 477.2 kB / 0.7068 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-05/1.985, allocations: 115.5 kB / 0.7069 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/1.985, allocations: 397.7 kB / 0.7073 GB, free: 220 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/1.985, allocations: 268.8 kB / 0.7075 GB, free: 220 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/1.986, allocations: 0.5085 MB / 0.708 GB, free: 219.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/1.987, allocations: 0.878 MB / 0.7089 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.987, allocations: 6.156 kB / 0.7089 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.0018/1.988, allocations: 1.309 MB / 0.7102 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.988, allocations: 8.469 kB / 0.7102 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.988, allocations: 5.656 kB / 0.7102 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/1.99, allocations: 0.8718 MB / 0.711 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/1.99, allocations: 39.39 kB / 0.7111 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/1.994, allocations: 7.262 MB / 0.7182 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/1.995, allocations: 128.4 kB / 0.7183 GB, free: 212.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/1.995, allocations: 34.69 kB / 0.7183 GB, free: 212.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 28 (singularPressureLoss6.C2.b,singularPressureLoss6.C1.a,sinkP4.C.a,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,sinkP3.C.a,sinkP2.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,sourceP1.C.b,splitter3.Cs2.b,splitter3.Cs1.b,splitter3.Cs3.b,splitter3.Ce.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP1.C.a,sinkP.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sourceP.C.b,splitter2.Cs2.b,splitter2.Cs1.b,splitter2.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002898/1.995, allocations: 244.3 kB / 0.7186 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/1.995, allocations: 96.89 kB / 0.7186 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/1.998, allocations: 2.889 MB / 0.7215 GB, free: 212.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001867/2, allocations: 1.588 MB / 0.723 GB, free: 211.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/2, allocations: 0 / 0.723 GB, free: 211.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/2, allocations: 6.422 kB / 0.723 GB, free: 211.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/2.004, allocations: 4.006 MB / 0.7269 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/2.004, allocations: 0 / 0.7269 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/2.004, allocations: 151.1 kB / 0.7271 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/2.006, allocations: 0.916 MB / 0.728 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/2.006, allocations: 28.47 kB / 0.728 GB, free: 210.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003755/2.01, allocations: 7.348 MB / 0.7352 GB, free: 204.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.01, allocations: 192 / 0.7352 GB, free: 204.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/2.012, allocations: 1.891 MB / 0.737 GB, free: 203.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/2.012, allocations: 315.5 kB / 0.7373 GB, free: 203.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.347e-05/2.012, allocations: 27.78 kB / 0.7374 GB, free: 203.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/2.012, allocations: 50.78 kB / 0.7374 GB, free: 203.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/2.012, allocations: 81.69 kB / 0.7375 GB, free: 203.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/2.013, allocations: 36.97 kB / 0.7375 GB, free: 203.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004027/2.013, allocations: 476.6 kB / 0.738 GB, free: 203.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/2.013, allocations: 0 / 0.738 GB, free: 203.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002873/2.016, allocations: 1.473 MB / 0.7394 GB, free: 203.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (108): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003876/2.02, allocations: 1.802 MB / 0.7412 GB, free: 202.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002272/2.022, allocations: 1.821 MB / 0.7429 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2.022, allocations: 0 / 0.7429 GB, free: 201.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/2.023, allocations: 1.012 MB / 0.7439 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/2.026, allocations: 0.5257 MB / 0.7444 GB, free: 201.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/2.029, allocations: 3.061 MB / 0.7474 GB, free: 198.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/2.029, allocations: 1.233 MB / 0.7486 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003355/2.029, allocations: 109.5 kB / 0.7487 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/2.029, allocations: 67.44 kB / 0.7488 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/2.029, allocations: 4 kB / 0.7488 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.05768/2.087, allocations: 58.86 MB / 0.8063 GB, free: 139.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1.pipe 2>&1) Environment - environmentSimulation: