Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.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.TestJunctions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7397/0.7397, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.158e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 31.97 MB / 236.8 MB, free: 5.43 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.TestJunctions3): time 1.432/1.563, allocations: 297.9 MB / 0.5222 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.431/1.994, allocations: 186.7 MB / 0.7045 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/1.995, allocations: 10.41 kB / 0.7045 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005534/1.996, allocations: 245.9 kB / 0.7047 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008466/1.997, allocations: 457.5 kB / 0.7052 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02146/2.018, allocations: 9.226 MB / 0.7142 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002016/2.02, allocations: 1.821 MB / 0.7159 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005742/2.021, allocations: 0.5791 MB / 0.7165 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006093/2.021, allocations: 0.6075 MB / 0.7171 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/2.022, allocations: 0.6132 MB / 0.7177 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/2.022, allocations: 61.41 kB / 0.7178 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02751/2.049, allocations: 20.21 MB / 0.7375 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/2.05, allocations: 217.6 kB / 0.7377 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008486/2.051, allocations: 0.7121 MB / 0.7384 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01817/2.069, allocations: 10.95 MB / 0.7491 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/2.069, allocations: 1.859 kB / 0.7491 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.195e-06/2.069, allocations: 0 / 0.7491 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.256e-05/2.069, allocations: 2.906 kB / 0.7491 GB, free: 14.16 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005781/2.075, allocations: 2.573 MB / 0.7516 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/2.075, allocations: 9.625 kB / 0.7516 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/2.075, allocations: 169.2 kB / 0.7518 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006624/2.076, allocations: 0.5719 MB / 0.7523 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/2.076, allocations: 101.7 kB / 0.7524 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/2.076, allocations: 129 kB / 0.7526 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/2.078, allocations: 1.776 MB / 0.7543 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/2.078, allocations: 11.03 kB / 0.7543 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/2.078, allocations: 58.47 kB / 0.7544 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/2.078, allocations: 63.89 kB / 0.7544 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/2.08, allocations: 1.055 MB / 0.7554 GB, free: 11.05 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.05643/2.136, allocations: 36.91 MB / 0.7915 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/2.137, allocations: 0.6118 MB / 0.7921 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/2.138, allocations: 443.9 kB / 0.7925 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2806/2.419, allocations: 151.8 MB / 0.9407 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/2.419, allocations: 34.69 kB / 0.9408 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=146): time 2.805e-06/2.419, allocations: 0 / 0.9408 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=146): time 0.007553/2.426, allocations: 2.342 MB / 0.943 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/2.426, allocations: 59.78 kB / 0.9431 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/2.427, allocations: 0.8221 MB / 0.9439 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/2.427, allocations: 38.75 kB / 0.9439 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/2.428, allocations: 0.651 MB / 0.9446 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/2.428, allocations: 483.2 kB / 0.945 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/2.428, allocations: 169.9 kB / 0.9452 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001108/2.428, allocations: 354.2 kB / 0.9455 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/2.429, allocations: 404.2 kB / 0.9459 GB, free: 448 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/2.43, allocations: 1.075 MB / 0.947 GB, free: 15.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/2.432, allocations: 1.652 MB / 0.9486 GB, free: 13.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/2.432, allocations: 8 kB / 0.9486 GB, free: 13.42 MB / 0.795 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002919/2.435, allocations: 1.833 MB / 0.9504 GB, free: 11.71 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/2.435, allocations: 16 kB / 0.9504 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/2.435, allocations: 23.94 kB / 0.9504 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0045/2.44, allocations: 1.408 MB / 0.9518 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/2.44, allocations: 172.2 kB / 0.952 GB, free: 10.12 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/2.442, allocations: 1.304 MB / 0.9532 GB, free: 8.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009691/2.443, allocations: 233.5 kB / 0.9535 GB, free: 8.578 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/2.443, allocations: 76 kB / 0.9535 GB, free: 8.504 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 60 (staticVolume2.Ce4.a,staticVolume2.Ce8.a,staticVolume2.Cs.b,staticVolume2.Ce1.a,staticVolume2.Ce2.a,staticVolume2.Ce3.a,staticVolume2.Ce7.a,staticVolume2.Ce6.a,staticVolume2.Ce5.a,staticVolume1.Ce4.a,staticVolume1.Ce8.a,staticVolume1.Cs.b,staticVolume1.Ce1.a,staticVolume1.Ce2.a,staticVolume1.Ce3.a,staticVolume1.Ce7.a,staticVolume1.Ce6.a,staticVolume1.Ce5.a,staticVolume.Ce4.a,staticVolume.Ce8.a,staticVolume.Cs.b,staticVolume.Ce1.a,staticVolume.Ce2.a,staticVolume.Ce3.a,staticVolume.Ce7.a,staticVolume.Ce6.a,staticVolume.Ce5.a,pipe2.C2.b,pipe2.C1.a,pipe1.C2.b,pipe1.C1.a,puitsP2.C.a,valve3.C2.b,valve3.C1.a,valve2.C2.b,valve2.C1.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,staticVolume2.Ce8.b,staticVolume2.Ce7.b,staticVolume2.Ce6.b,staticVolume2.Ce5.b,staticVolume2.Ce3.b,staticVolume2.Ce2.b,staticVolume2.Ce1.b,staticVolume1.Ce7.b,staticVolume1.Ce6.b,staticVolume1.Ce5.b,staticVolume1.Ce4.b,staticVolume1.Ce3.b,staticVolume1.Ce2.b,staticVolume.Ce8.b,staticVolume.Ce7.b,staticVolume.Ce6.b,staticVolume.Ce5.b,staticVolume.Ce3.b,staticVolume.Ce2.b,staticVolume.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(13,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0004362/2.444, allocations: 346.7 kB / 0.9539 GB, free: 8.184 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/2.444, allocations: 110.5 kB / 0.954 GB, free: 8.074 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/2.448, allocations: 4.099 MB / 0.958 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00203/2.45, allocations: 1.472 MB / 0.9594 GB, free: 2.387 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/2.45, allocations: 4 kB / 0.9594 GB, free: 2.383 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/2.45, allocations: 3.984 kB / 0.9594 GB, free: 2.379 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/2.455, allocations: 3.616 MB / 0.9629 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/2.455, allocations: 0 / 0.9629 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/2.456, allocations: 160.6 kB / 0.9631 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003252/2.459, allocations: 1.268 MB / 0.9643 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/2.459, allocations: 20 kB / 0.9644 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/2.461, allocations: 1.394 MB / 0.9657 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/2.461, allocations: 0 / 0.9657 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/2.463, allocations: 1.692 MB / 0.9674 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/2.463, allocations: 328.5 kB / 0.9677 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/2.464, allocations: 20 kB / 0.9677 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/2.464, allocations: 71.8 kB / 0.9678 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/2.464, allocations: 77.2 kB / 0.9678 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/2.464, allocations: 28 kB / 0.9679 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006669/2.465, allocations: 0.6106 MB / 0.9685 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/2.465, allocations: 4 kB / 0.9685 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004509/2.469, allocations: 1.784 MB / 0.9702 GB, free: 7.27 MB / 0.8106 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 (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007054/2.477, allocations: 2.359 MB / 0.9725 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002961/2.48, allocations: 1.817 MB / 0.9743 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/2.48, allocations: 0 / 0.9743 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/2.481, allocations: 0.7655 MB / 0.975 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/2.484, allocations: 0.5135 MB / 0.9755 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1621/2.646, allocations: 3.331 MB / 0.9788 GB, free: 455.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/2.646, allocations: 1.281 MB / 0.98 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006186/2.647, allocations: 144 kB / 0.9802 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/2.647, allocations: 83.52 kB / 0.9803 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of SimCode: time 8.02e-07/2.647, allocations: 0 / 0.9803 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.07003/2.717, allocations: 63.68 MB / 1.042 GB, free: 421 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.pipe 2>&1) Environment - environmentSimulation: