Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7465/0.7465, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.541e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 31.97 MB / 236.8 MB, free: 5.172 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.TestStaticWaterWaterExchanger): time 1.407/1.535, allocations: 295.1 MB / 0.5194 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02806/1.563, allocations: 25.59 MB / 0.5444 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/1.564, allocations: 8 kB / 0.5444 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/1.564, allocations: 131.2 kB / 0.5446 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005536/1.565, allocations: 226.3 kB / 0.5448 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01289/1.578, allocations: 5.258 MB / 0.5499 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009799/1.579, allocations: 0.9217 MB / 0.5508 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/1.579, allocations: 249.4 kB / 0.5511 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/1.579, allocations: 322.4 kB / 0.5514 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/1.58, allocations: 298.5 kB / 0.5516 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/1.58, allocations: 20 kB / 0.5517 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02044/1.6, allocations: 15.18 MB / 0.5665 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/1.6, allocations: 95.53 kB / 0.5666 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003698/1.601, allocations: 355.9 kB / 0.5669 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/1.612, allocations: 6.875 MB / 0.5736 GB, free: 4.527 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.612, allocations: 4 kB / 0.5736 GB, free: 4.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/1.612, allocations: 0 / 0.5736 GB, free: 4.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/1.612, allocations: 3.938 kB / 0.5736 GB, free: 4.52 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.003775/1.616, allocations: 1.431 MB / 0.575 GB, free: 3.039 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.616, allocations: 12.03 kB / 0.5751 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/1.616, allocations: 75.94 kB / 0.5751 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/1.617, allocations: 341.8 kB / 0.5755 GB, free: 2.582 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/1.617, allocations: 134.1 kB / 0.5756 GB, free: 2.434 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/1.617, allocations: 44 kB / 0.5756 GB, free: 2.391 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.618, allocations: 0.7913 MB / 0.5764 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/1.618, allocations: 0 / 0.5764 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/1.618, allocations: 20 kB / 0.5764 GB, free: 1.535 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/1.618, allocations: 39.95 kB / 0.5765 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/1.619, allocations: 0.5865 MB / 0.577 GB, free: 0.9102 MB / 462.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.06864/1.688, allocations: 36.67 MB / 0.6128 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/1.689, allocations: 0.5541 MB / 0.6134 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/1.69, allocations: 358.7 kB / 0.6137 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06804/1.758, allocations: 33.92 MB / 0.6468 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/1.758, allocations: 34.56 kB / 0.6469 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.104e-06/1.758, allocations: 0 / 0.6469 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01739/1.775, allocations: 3.495 MB / 0.6503 GB, free: 14.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/1.775, allocations: 55.41 kB / 0.6503 GB, free: 14.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/1.775, allocations: 332.4 kB / 0.6507 GB, free: 14.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.775, allocations: 33.7 kB / 0.6507 GB, free: 14.37 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/1.776, allocations: 217.3 kB / 0.6509 GB, free: 14.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/1.776, allocations: 413.7 kB / 0.6513 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/1.776, allocations: 81.61 kB / 0.6514 GB, free: 13.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.776, allocations: 374.8 kB / 0.6517 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/1.777, allocations: 285.5 kB / 0.652 GB, free: 13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/1.777, allocations: 397.1 kB / 0.6524 GB, free: 12.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/1.778, allocations: 0.7264 MB / 0.6531 GB, free: 11.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.778, allocations: 0 / 0.6531 GB, free: 11.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004102/1.782, allocations: 1.31 MB / 0.6544 GB, free: 10.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.783, allocations: 4 kB / 0.6544 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.783, allocations: 8 kB / 0.6544 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003495/1.786, allocations: 1.391 MB / 0.6557 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.013e-05/1.786, allocations: 19.94 kB / 0.6558 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.788, allocations: 1.393 MB / 0.6571 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/1.789, allocations: 94.95 kB / 0.6572 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/1.789, allocations: 23.98 kB / 0.6572 GB, free: 7.543 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.000202/1.789, allocations: 178.3 kB / 0.6574 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/1.789, allocations: 51.25 kB / 0.6575 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/1.793, allocations: 3.974 MB / 0.6613 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002613/1.795, allocations: 1.326 MB / 0.6626 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.795, allocations: 0 / 0.6626 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.795, allocations: 3.984 kB / 0.6626 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006218/1.802, allocations: 2.946 MB / 0.6655 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.802, allocations: 4 kB / 0.6655 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/1.802, allocations: 91.91 kB / 0.6656 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/1.805, allocations: 1.438 MB / 0.667 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/1.805, allocations: 19.98 kB / 0.667 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/1.807, allocations: 1.503 MB / 0.6685 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.807, allocations: 0 / 0.6685 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0045/1.812, allocations: 1.518 MB / 0.67 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/1.812, allocations: 211.7 kB / 0.6702 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/1.812, allocations: 16 kB / 0.6702 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/1.812, allocations: 35.83 kB / 0.6702 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/1.813, allocations: 52.91 kB / 0.6703 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/1.813, allocations: 27.98 kB / 0.6703 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003704/1.813, allocations: 387.1 kB / 0.6707 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.813, allocations: 4 kB / 0.6707 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00216/1.815, allocations: 1.05 MB / 0.6717 GB, free: 8.422 MB / 0.5606 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003229/1.818, allocations: 1.198 MB / 0.6729 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001858/1.82, allocations: 1.147 MB / 0.674 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.82, allocations: 0 / 0.674 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.821, allocations: 0.5277 MB / 0.6745 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/1.823, allocations: 416.4 kB / 0.6749 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/1.826, allocations: 1.943 MB / 0.6768 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/1.826, allocations: 0.9948 MB / 0.6778 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002332/1.826, allocations: 64.83 kB / 0.6778 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/1.826, allocations: 39.44 kB / 0.6779 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of SimCode: time 2.01e-07/1.826, allocations: 0 / 0.6779 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.1962/2.023, allocations: 48.09 MB / 0.7248 GB, free: 218.9 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) Environment - environmentSimulation: