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.8192/0.8192, allocations: 111.6 MB / 131 MB, free: 5.082 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.743e-06/1.743e-06, allocations: 0 / 175.7 MB, free: 9.457 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.425e-05, allocations: 2.312 kB / 175.7 MB, free: 9.453 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.771/1.771, allocations: 256.1 MB / 431.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4195/2.19, allocations: 180 MB / 0.5974 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004093/2.191, allocations: 23.81 kB / 0.5974 GB, free: 9.574 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.0004959/2.191, allocations: 165 kB / 0.5976 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0006591/2.192, allocations: 303.8 kB / 0.5979 GB, free: 9.117 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.02973/2.221, allocations: 11.22 MB / 0.6088 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001308/2.223, allocations: 0.8716 MB / 0.6097 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/2.223, allocations: 333 kB / 0.61 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/2.224, allocations: 0.5416 MB / 0.6105 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/2.224, allocations: 235.2 kB / 0.6108 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/2.224, allocations: 64 kB / 0.6108 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03533/2.26, allocations: 18.24 MB / 0.6286 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/2.26, allocations: 171.3 kB / 0.6288 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005553/2.261, allocations: 259.3 kB / 0.629 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02597/2.287, allocations: 12.5 MB / 0.6413 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/2.287, allocations: 0 / 0.6413 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.413e-06/2.287, allocations: 8 kB / 0.6413 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.266e-05/2.287, allocations: 0 / 0.6413 GB, free: 12.69 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.005485/2.292, allocations: 2.246 MB / 0.6435 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/2.292, allocations: 15.98 kB / 0.6435 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/2.292, allocations: 147.4 kB / 0.6436 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/2.293, allocations: 420 kB / 0.644 GB, free: 9.793 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/2.293, allocations: 50.44 kB / 0.6441 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.162e-05/2.293, allocations: 68 kB / 0.6441 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/2.294, allocations: 0.7168 MB / 0.6448 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/2.294, allocations: 0 / 0.6448 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/2.294, allocations: 28 kB / 0.6449 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/2.294, allocations: 35.92 kB / 0.6449 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007241/2.295, allocations: 369.7 kB / 0.6452 GB, free: 8.484 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.01671/2.312, allocations: 6.917 MB / 0.652 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/2.312, allocations: 118.8 kB / 0.6521 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/2.312, allocations: 80.23 kB / 0.6522 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1681/2.48, allocations: 43.97 MB / 0.6951 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/2.48, allocations: 41.33 kB / 0.6952 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 1.583e-06/2.48, allocations: 0 / 0.6952 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46): time 0.0007838/2.481, allocations: 338 kB / 0.6955 GB, free: 4.844 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/2.481, allocations: 85.05 kB / 0.6956 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007832/2.482, allocations: 0.6 MB / 0.6962 GB, free: 4.125 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/2.482, allocations: 29.7 kB / 0.6962 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/2.482, allocations: 446.9 kB / 0.6966 GB, free: 3.645 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/2.483, allocations: 166.6 kB / 0.6968 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/2.483, allocations: 159 kB / 0.6969 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003234/2.483, allocations: 0.547 MB / 0.6975 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/2.483, allocations: 92.61 kB / 0.6975 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/2.484, allocations: 363.7 kB / 0.6979 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/2.485, allocations: 0.5018 MB / 0.6984 GB, free: 1.594 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/2.485, allocations: 4 kB / 0.6984 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008583/2.485, allocations: 473.1 kB / 0.6988 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/2.485, allocations: 8.562 kB / 0.6988 GB, free: 1.113 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/2.485, allocations: 8 kB / 0.6988 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/2.485, allocations: 9.625 kB / 0.6989 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/2.486, allocations: 75.84 kB / 0.6989 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/2.486, allocations: 8 kB / 0.6989 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/2.486, allocations: 55.52 kB / 0.699 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/2.486, allocations: 20.34 kB / 0.699 GB, free: 0.9414 MB / 0.6042 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.0003079/2.486, allocations: 240.4 kB / 0.6992 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/2.486, allocations: 59.56 kB / 0.6993 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009666/2.487, allocations: 0.5175 MB / 0.6998 GB, free: 108 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005857/2.488, allocations: 392.5 kB / 0.7002 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/2.488, allocations: 4 kB / 0.7002 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/2.488, allocations: 4 kB / 0.7002 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/2.49, allocations: 1.57 MB / 0.7017 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/2.49, allocations: 3.984 kB / 0.7017 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/2.491, allocations: 71.91 kB / 0.7018 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/2.491, allocations: 7.938 kB / 0.7018 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/2.491, allocations: 12.94 kB / 0.7018 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/2.491, allocations: 0 / 0.7018 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/2.491, allocations: 7.938 kB / 0.7018 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/2.491, allocations: 0.7656 MB / 0.7026 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/2.492, allocations: 121.3 kB / 0.7027 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.61e-05/2.492, allocations: 8 kB / 0.7027 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/2.492, allocations: 12.88 kB / 0.7027 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/2.492, allocations: 39.81 kB / 0.7027 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/2.492, allocations: 12 kB / 0.7027 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004354/2.493, allocations: 366.8 kB / 0.7031 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/2.493, allocations: 4 kB / 0.7031 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003995/2.497, allocations: 1.535 MB / 0.7046 GB, free: 11.09 MB / 0.6198 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.006773/2.503, allocations: 2.342 MB / 0.7069 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009939/2.504, allocations: 0.527 MB / 0.7074 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/2.504, allocations: 0 / 0.7074 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/2.505, allocations: 209.4 kB / 0.7076 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/2.506, allocations: 296 kB / 0.7079 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/2.508, allocations: 1.352 MB / 0.7092 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/2.509, allocations: 404.1 kB / 0.7096 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002903/2.509, allocations: 91.3 kB / 0.7097 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/2.509, allocations: 48.5 kB / 0.7097 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of SimCode: time 9.51e-07/2.509, allocations: 0 / 0.7097 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of Templates: time 0.1923/2.702, allocations: 51.86 MB / 0.7604 GB, free: 254 MB / 0.6198 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.987363614025526]