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.9063/0.9063, allocations: 120.4 MB / 140.1 MB, free: 32 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.000535/0.000535, allocations: 19.97 kB / 217.7 MB, free: 12.98 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05482/0.05536, allocations: 33.37 MB / 251.1 MB, free: 11.55 MB / 238.1 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.72/1.776, allocations: 255.2 MB / 0.4945 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2142/1.99, allocations: 163.7 MB / 0.6543 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/1.99, allocations: 19.88 kB / 0.6543 GB, free: 9.648 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:35:3-36:54: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:37:3-38:54: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:39:3-40:51: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:41:3-42:52: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:75:3-76:65: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:40:3-41:67: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.0005754/1.991, allocations: 162.3 kB / 0.6545 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007126/1.992, allocations: 293.8 kB / 0.6548 GB, free: 9.203 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.02831/2.02, allocations: 11.1 MB / 0.6656 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001189/2.021, allocations: 0.8408 MB / 0.6664 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004495/2.022, allocations: 324.7 kB / 0.6667 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/2.022, allocations: 370.5 kB / 0.6671 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/2.022, allocations: 298.3 kB / 0.6674 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.518e-05/2.022, allocations: 60 kB / 0.6674 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3/2.322, allocations: 18.21 MB / 0.6852 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/2.323, allocations: 170.8 kB / 0.6854 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003763/2.323, allocations: 318.7 kB / 0.6857 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01756/2.341, allocations: 10.01 MB / 0.6954 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/2.341, allocations: 0 / 0.6954 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/2.341, allocations: 0.5625 kB / 0.6954 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.391e-05/2.341, allocations: 1.188 kB / 0.6954 GB, free: 15.14 MB / 0.6231 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.004883/2.345, allocations: 2.099 MB / 0.6975 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/2.346, allocations: 10.53 kB / 0.6975 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/2.346, allocations: 98.23 kB / 0.6976 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/2.346, allocations: 402.5 kB / 0.698 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/2.346, allocations: 49.16 kB / 0.698 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/2.346, allocations: 62.06 kB / 0.6981 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/2.347, allocations: 0.7099 MB / 0.6988 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/2.347, allocations: 3.281 kB / 0.6988 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/2.347, allocations: 30.16 kB / 0.6988 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/2.347, allocations: 28.89 kB / 0.6988 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/2.348, allocations: 439 kB / 0.6993 GB, free: 13.57 MB / 0.6231 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.01327/2.361, allocations: 6.185 MB / 0.7053 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/2.361, allocations: 104.3 kB / 0.7054 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/2.361, allocations: 72.58 kB / 0.7055 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1444/2.506, allocations: 43.77 MB / 0.7482 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/2.506, allocations: 34.56 kB / 0.7482 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=46): time 1.974e-06/2.506, allocations: 0 / 0.7482 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46): time 0.0006722/2.506, allocations: 335.6 kB / 0.7486 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/2.506, allocations: 77.11 kB / 0.7486 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/2.507, allocations: 0.4962 MB / 0.7491 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/2.507, allocations: 25.7 kB / 0.7491 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/2.507, allocations: 383.3 kB / 0.7495 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/2.507, allocations: 162.5 kB / 0.7497 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/2.507, allocations: 126.6 kB / 0.7498 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 5.566e-05/2.507, allocations: 351.6 kB / 0.7501 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/2.507, allocations: 101.5 kB / 0.7502 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/2.508, allocations: 281.2 kB / 0.7505 GB, free: 436 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/2.508, allocations: 429.3 kB / 0.7509 GB, free: 68 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/2.508, allocations: 0 / 0.7509 GB, free: 68 kB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007415/2.509, allocations: 458.4 kB / 0.7513 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/2.509, allocations: 8.031 kB / 0.7513 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/2.509, allocations: 8 kB / 0.7513 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/2.509, allocations: 8 kB / 0.7514 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/2.509, allocations: 77.89 kB / 0.7514 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/2.509, allocations: 11.56 kB / 0.7514 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/2.509, allocations: 51.95 kB / 0.7515 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/2.509, allocations: 24.22 kB / 0.7515 GB, free: 15.59 MB / 0.6387 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 (sourceP3.C.ftype,plateHeatExchanger.fluid_f,puitsP3.fluid,sourceP2.C.ftype,plateHeatExchanger.fluid_c,puitsP2.fluid,sourceP3.fluid1,sourceP2.fluid1) * 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.0002588/2.51, allocations: 201.9 kB / 0.7517 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/2.51, allocations: 59.56 kB / 0.7518 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008415/2.511, allocations: 0.6568 MB / 0.7524 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005653/2.511, allocations: 468.9 kB / 0.7529 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.511, allocations: 0 / 0.7529 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/2.511, allocations: 3.984 kB / 0.7529 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/2.513, allocations: 1.4 MB / 0.7542 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/2.513, allocations: 0 / 0.7542 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/2.513, allocations: 70.88 kB / 0.7543 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/2.513, allocations: 5.203 kB / 0.7543 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/2.513, allocations: 7.062 kB / 0.7543 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/2.513, allocations: 7.938 kB / 0.7543 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.513, allocations: 3.562 kB / 0.7543 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/2.514, allocations: 0.7052 MB / 0.755 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/2.514, allocations: 121.9 kB / 0.7551 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/2.514, allocations: 15.06 kB / 0.7551 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/2.515, allocations: 11 kB / 0.7551 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/2.515, allocations: 34.53 kB / 0.7552 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/2.515, allocations: 15.62 kB / 0.7552 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003787/2.515, allocations: 323.2 kB / 0.7555 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/2.515, allocations: 1.203 kB / 0.7555 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004313/2.519, allocations: 1.532 MB / 0.757 GB, free: 11.02 MB / 0.6387 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.00716/2.527, allocations: 2.16 MB / 0.7591 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008624/2.527, allocations: 0.5365 MB / 0.7596 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/2.527, allocations: 0 / 0.7596 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/2.528, allocations: 203.6 kB / 0.7598 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/2.529, allocations: 296.6 kB / 0.7601 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/2.531, allocations: 1.396 MB / 0.7615 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/2.532, allocations: 407.6 kB / 0.7619 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002955/2.532, allocations: 87.28 kB / 0.7619 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/2.532, allocations: 52.5 kB / 0.762 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/2.532, allocations: 0 / 0.762 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of Templates: time 0.07851/2.611, allocations: 50.73 MB / 0.8115 GB, free: 4.121 MB / 0.6856 GB " [Timeout remaining time 657] 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=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.909809825010598] Failed to read output from testmodel.py, exit status != 0: 2.7510098329512402 2.766535656 0.42258691200000004 Calling exit ...