Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.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.TestFlueGasesJunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions") translateModel(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7351/0.7351, allocations: 150.8 MB / 166.1 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.363e-05/1.366e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 31.98 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.TestFlueGasesJunctions): time 1.4/1.53, allocations: 295.6 MB / 0.5199 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1311/1.661, allocations: 146.2 MB / 0.6627 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/1.662, allocations: 8 kB / 0.6627 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000192/1.662, allocations: 83.27 kB / 0.6628 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006074/1.663, allocations: 238 kB / 0.663 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/1.664, allocations: 0.5144 MB / 0.6635 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009802/1.665, allocations: 1.101 MB / 0.6646 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006197/1.665, allocations: 0.5705 MB / 0.6651 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/1.666, allocations: 342.6 kB / 0.6655 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004251/1.666, allocations: 445.8 kB / 0.6659 GB, free: 5.672 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.731e-05/1.666, allocations: 56 kB / 0.6659 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009865/1.667, allocations: 0.5825 MB / 0.6665 GB, free: 5.035 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/1.667, allocations: 187.2 kB / 0.6667 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003741/1.668, allocations: 0.499 MB / 0.6672 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/1.669, allocations: 1.467 MB / 0.6686 GB, free: 2.871 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.669, allocations: 0 / 0.6686 GB, free: 2.871 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/1.669, allocations: 0 / 0.6686 GB, free: 2.871 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.333e-05/1.669, allocations: 0 / 0.6686 GB, free: 2.871 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.001605/1.671, allocations: 1.09 MB / 0.6697 GB, free: 1.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/1.671, allocations: 12.03 kB / 0.6697 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/1.671, allocations: 123.6 kB / 0.6698 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/1.671, allocations: 462.3 kB / 0.6703 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/1.672, allocations: 90.52 kB / 0.6703 GB, free: 1.016 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/1.672, allocations: 124 kB / 0.6705 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/1.673, allocations: 1.289 MB / 0.6717 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/1.673, allocations: 7.938 kB / 0.6717 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/1.674, allocations: 52 kB / 0.6718 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/1.674, allocations: 32 kB / 0.6718 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.675, allocations: 0.8338 MB / 0.6726 GB, free: 14.56 MB / 0.5606 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.005358/1.68, allocations: 7.472 MB / 0.6799 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007666/1.681, allocations: 455.2 kB / 0.6803 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/1.681, allocations: 335.1 kB / 0.6807 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/1.682, allocations: 242.1 kB / 0.6809 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/1.682, allocations: 38.56 kB / 0.6809 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=51): time 1.683e-06/1.682, allocations: 0 / 0.6809 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51): time 0.003029/1.685, allocations: 1.548 MB / 0.6824 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/1.685, allocations: 85.11 kB / 0.6825 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/1.686, allocations: 0.6044 MB / 0.6831 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/1.686, allocations: 33.7 kB / 0.6831 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/1.686, allocations: 435.1 kB / 0.6836 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/1.686, allocations: 185.4 kB / 0.6837 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/1.686, allocations: 77.67 kB / 0.6838 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.686, allocations: 370.8 kB / 0.6842 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/1.687, allocations: 201.2 kB / 0.6844 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/1.687, allocations: 408.1 kB / 0.6848 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/1.688, allocations: 0.6484 MB / 0.6854 GB, free: 320 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.688, allocations: 3.938 kB / 0.6854 GB, free: 316 kB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001536/1.689, allocations: 0.8932 MB / 0.6863 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.689, allocations: 8 kB / 0.6863 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.689, allocations: 8 kB / 0.6863 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/1.69, allocations: 301 kB / 0.6866 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/1.691, allocations: 99.81 kB / 0.6867 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/1.693, allocations: 4.064 MB / 0.6906 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/1.694, allocations: 107 kB / 0.6907 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/1.694, allocations: 32 kB / 0.6908 GB, free: 10.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 24 (sinkP2.C.a,sourceP2.C.b,sourceP1.C.b,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,mixer2_1.Ce1.a,mixer2_1.Cs.b,mixer2_1.Ce2.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 (58): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002744/1.694, allocations: 224.7 kB / 0.691 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/1.694, allocations: 75.14 kB / 0.691 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/1.695, allocations: 0.7225 MB / 0.6918 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.695, allocations: 8 kB / 0.6918 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.695, allocations: 0 / 0.6918 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.695, allocations: 0 / 0.6918 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/1.699, allocations: 2.26 MB / 0.694 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.699, allocations: 4 kB / 0.694 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/1.699, allocations: 60.5 kB / 0.694 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009404/1.7, allocations: 261 kB / 0.6943 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/1.7, allocations: 19.98 kB / 0.6943 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/1.702, allocations: 4.01 MB / 0.6982 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/1.702, allocations: 4 kB / 0.6982 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/1.704, allocations: 0.9684 MB / 0.6992 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/1.704, allocations: 160.2 kB / 0.6993 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/1.704, allocations: 12 kB / 0.6993 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/1.704, allocations: 35.83 kB / 0.6994 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/1.704, allocations: 43.83 kB / 0.6994 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/1.704, allocations: 27.94 kB / 0.6994 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004271/1.705, allocations: 427.1 kB / 0.6998 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/1.705, allocations: 0 / 0.6998 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007297/1.705, allocations: 291 kB / 0.7001 GB, free: 460 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (32): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005034/1.706, allocations: 251.4 kB / 0.7004 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.1423/1.848, allocations: 0.5832 MB / 0.7009 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.848, allocations: 0 / 0.7009 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000723/1.849, allocations: 294.8 kB / 0.7012 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.85, allocations: 143.3 kB / 0.7013 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/1.852, allocations: 1.739 MB / 0.703 GB, free: 235.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/1.852, allocations: 0.9595 MB / 0.704 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002333/1.853, allocations: 76.53 kB / 0.704 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/1.853, allocations: 43.16 kB / 0.7041 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/1.853, allocations: 1.5 kB / 0.7041 GB, free: 234.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01638/1.869, allocations: 11.01 MB / 0.7148 GB, free: 234.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesJunctions.pipe 2>&1) Environment - environmentSimulation: