Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.4685/0.4685, allocations: 111.6 MB / 132.2 MB, free: 4.43 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 177.3 MB, free: 8.926 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.569e-05, allocations: 2.312 kB / 177.3 MB, free: 8.922 MB / 170.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger): time 1.013/1.013, allocations: 258.4 MB / 435.7 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3027/1.316, allocations: 177 MB / 0.5984 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/1.316, allocations: 19.88 kB / 0.5984 GB, free: 2.066 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:28:3-29:80:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:30:3-31:80:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:32:3-33:77:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:34:3-35:78:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourcePQ.mo:44:3-45:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/Sink.mo:29:3-30:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000355/1.316, allocations: 165.2 kB / 0.5985 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004064/1.317, allocations: 299.5 kB / 0.5988 GB, free: 1.613 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01819/1.335, allocations: 11.25 MB / 0.6098 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006267/1.336, allocations: 0.8695 MB / 0.6107 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/1.336, allocations: 340.9 kB / 0.611 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/1.336, allocations: 0.5455 MB / 0.6115 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/1.336, allocations: 227.3 kB / 0.6117 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/1.337, allocations: 60 kB / 0.6118 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01942/1.356, allocations: 18.25 MB / 0.6296 GB, free: 2.121 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/1.356, allocations: 175.3 kB / 0.6298 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/1.356, allocations: 259.3 kB / 0.63 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/1.369, allocations: 12.2 MB / 0.642 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.369, allocations: 0 / 0.642 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.192e-06/1.369, allocations: 4 kB / 0.642 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.369, allocations: 3.938 kB / 0.642 GB, free: 5.453 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002901/1.372, allocations: 2.199 MB / 0.6441 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/1.372, allocations: 11.98 kB / 0.6441 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/1.372, allocations: 147.4 kB / 0.6443 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/1.372, allocations: 432 kB / 0.6447 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/1.372, allocations: 49.25 kB / 0.6447 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/1.372, allocations: 64 kB / 0.6448 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/1.373, allocations: 0.5494 MB / 0.6453 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.373, allocations: 4 kB / 0.6453 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/1.373, allocations: 28 kB / 0.6453 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/1.373, allocations: 31.92 kB / 0.6454 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/1.373, allocations: 213.5 kB / 0.6456 GB, free: 1.605 MB / 0.5573 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.00699/1.38, allocations: 6.468 MB / 0.6519 GB, free: 11.04 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.89e-05/1.38, allocations: 82.05 kB / 0.652 GB, free: 10.94 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/1.38, allocations: 43.48 kB / 0.652 GB, free: 10.89 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.035/1.415, allocations: 20.39 MB / 0.6719 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/1.415, allocations: 42.31 kB / 0.672 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=46): time 2.214e-06/1.415, allocations: 3.984 kB / 0.672 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of matching and sorting (n=46): time 0.0003016/1.415, allocations: 246.8 kB / 0.6722 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/1.415, allocations: 89.05 kB / 0.6723 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/1.416, allocations: 0.4981 MB / 0.6728 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/1.416, allocations: 25.7 kB / 0.6728 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/1.416, allocations: 430.9 kB / 0.6732 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/1.416, allocations: 166.6 kB / 0.6734 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.416, allocations: 135.1 kB / 0.6735 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.416, allocations: 0.5312 MB / 0.674 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/1.416, allocations: 40.62 kB / 0.6741 GB, free: 4.211 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/1.416, allocations: 296.7 kB / 0.6743 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/1.417, allocations: 410.7 kB / 0.6747 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.417, allocations: 3.938 kB / 0.6747 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0003391/1.417, allocations: 377.3 kB / 0.6751 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.417, allocations: 4 kB / 0.6751 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.417, allocations: 9.453 kB / 0.6751 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/1.417, allocations: 8 kB / 0.6751 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/1.417, allocations: 75.84 kB / 0.6752 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.417, allocations: 15.88 kB / 0.6752 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.417, allocations: 55.52 kB / 0.6753 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/1.417, allocations: 23.98 kB / 0.6753 GB, free: 2.742 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP2.fluid1,sourceP3.fluid1,puitsP2.fluid,plateHeatExchanger.fluid_c,sourceP2.C.ftype,puitsP3.fluid,plateHeatExchanger.fluid_f,sourceP3.C.ftype) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.417, allocations: 176.6 kB / 0.6754 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/1.417, allocations: 63.62 kB / 0.6755 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/1.418, allocations: 459.2 kB / 0.6759 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001974/1.418, allocations: 303.8 kB / 0.6762 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/1.418, allocations: 0 / 0.6762 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.418, allocations: 11.92 kB / 0.6762 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009009/1.419, allocations: 1.229 MB / 0.6774 GB, free: 452 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.419, allocations: 0 / 0.6774 GB, free: 452 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/1.419, allocations: 67.92 kB / 0.6775 GB, free: 384 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/1.419, allocations: 9.734 kB / 0.6775 GB, free: 376 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/1.419, allocations: 8 kB / 0.6775 GB, free: 368 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/1.419, allocations: 12.06 kB / 0.6775 GB, free: 356 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.419, allocations: 0 / 0.6775 GB, free: 356 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/1.419, allocations: 0.6758 MB / 0.6782 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/1.42, allocations: 125.3 kB / 0.6783 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/1.42, allocations: 8 kB / 0.6783 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.42, allocations: 12 kB / 0.6783 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/1.42, allocations: 39.7 kB / 0.6784 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/1.42, allocations: 8 kB / 0.6784 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001527/1.42, allocations: 298.7 kB / 0.6787 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/1.42, allocations: 0 / 0.6787 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002119/1.422, allocations: 1.531 MB / 0.6802 GB, free: 13.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003577/1.426, allocations: 2.442 MB / 0.6826 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003461/1.426, allocations: 441.5 kB / 0.683 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.426, allocations: 128 / 0.683 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/1.426, allocations: 157.4 kB / 0.6831 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007974/1.427, allocations: 306.8 kB / 0.6834 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/1.428, allocations: 1.297 MB / 0.6847 GB, free: 8.918 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/1.428, allocations: 171.7 kB / 0.6848 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001841/1.428, allocations: 87.3 kB / 0.6849 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/1.429, allocations: 266 kB / 0.6852 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of SimCode: time 6.82e-07/1.429, allocations: 4 kB / 0.6852 GB, free: 8.371 MB / 0.6042 GB Notification: Performance of Templates: time 0.2362/1.665, allocations: 60.81 MB / 0.7446 GB, free: 85.28 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.095498505979776]