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.5049/0.5049, allocations: 111.6 MB / 131.2 MB, free: 4.562 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.533e-06/1.533e-06, allocations: 0 / 176.2 MB, free: 9.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.084e-05, allocations: 2.312 kB / 176.2 MB, free: 9.148 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.064/1.064, allocations: 258.4 MB / 434.6 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3277/1.391, allocations: 180.4 MB / 0.6006 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/1.392, allocations: 19.88 kB / 0.6006 GB, free: 15.07 MB / 0.5261 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.0003801/1.392, allocations: 161 kB / 0.6008 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004145/1.392, allocations: 299.5 kB / 0.601 GB, free: 14.62 MB / 0.5261 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.01956/1.412, allocations: 11.25 MB / 0.612 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008058/1.413, allocations: 0.8695 MB / 0.6129 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/1.413, allocations: 336.7 kB / 0.6132 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/1.414, allocations: 0.5377 MB / 0.6137 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/1.414, allocations: 235.2 kB / 0.6139 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/1.414, allocations: 60 kB / 0.614 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02286/1.437, allocations: 18.26 MB / 0.6318 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/1.437, allocations: 167.3 kB / 0.632 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003026/1.437, allocations: 259.4 kB / 0.6322 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01882/1.456, allocations: 12.2 MB / 0.6442 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.456, allocations: 4 kB / 0.6442 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.483e-06/1.456, allocations: 0 / 0.6442 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.376e-06/1.456, allocations: 4 kB / 0.6442 GB, free: 2.465 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.003748/1.46, allocations: 2.191 MB / 0.6463 GB, free: 228 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.46, allocations: 15.98 kB / 0.6463 GB, free: 212 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/1.46, allocations: 151.4 kB / 0.6465 GB, free: 60 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/1.46, allocations: 420.1 kB / 0.6469 GB, free: 15.62 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/1.46, allocations: 49.31 kB / 0.6469 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/1.46, allocations: 63.94 kB / 0.647 GB, free: 15.51 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/1.461, allocations: 0.5964 MB / 0.6476 GB, free: 14.85 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.461, allocations: 0 / 0.6476 GB, free: 14.85 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/1.461, allocations: 24 kB / 0.6476 GB, free: 14.83 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/1.461, allocations: 31.92 kB / 0.6476 GB, free: 14.8 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/1.461, allocations: 264.9 kB / 0.6479 GB, free: 14.54 MB / 0.573 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.007906/1.469, allocations: 6.693 MB / 0.6544 GB, free: 7.742 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/1.469, allocations: 90.16 kB / 0.6545 GB, free: 7.629 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.019e-05/1.47, allocations: 47.44 kB / 0.6545 GB, free: 7.574 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07615/1.546, allocations: 43.98 MB / 0.6975 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/1.546, allocations: 49.27 kB / 0.6975 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 2.475e-06/1.546, allocations: 4 kB / 0.6975 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.0004804/1.546, allocations: 266.5 kB / 0.6978 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/1.546, allocations: 77.11 kB / 0.6979 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/1.547, allocations: 0.5062 MB / 0.6983 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/1.547, allocations: 33.64 kB / 0.6984 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/1.547, allocations: 423 kB / 0.6988 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/1.547, allocations: 166.6 kB / 0.6989 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/1.547, allocations: 127.2 kB / 0.6991 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.547, allocations: 0.5196 MB / 0.6996 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.869e-05/1.547, allocations: 60.41 kB / 0.6996 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/1.547, allocations: 323.7 kB / 0.6999 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/1.548, allocations: 426.6 kB / 0.7003 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.548, allocations: 0 / 0.7003 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004079/1.548, allocations: 397.1 kB / 0.7007 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.548, allocations: 11.94 kB / 0.7007 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.548, allocations: 15.92 kB / 0.7007 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.548, allocations: 8 kB / 0.7008 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/1.548, allocations: 67.91 kB / 0.7008 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.548, allocations: 11.94 kB / 0.7008 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/1.549, allocations: 60.39 kB / 0.7009 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/1.549, allocations: 16.41 kB / 0.7009 GB, free: 7.715 MB / 0.6198 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.0001299/1.549, allocations: 188.4 kB / 0.7011 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/1.549, allocations: 59.56 kB / 0.7011 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006647/1.549, allocations: 498.2 kB / 0.7016 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002582/1.55, allocations: 335.9 kB / 0.7019 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.55, allocations: 4.938 kB / 0.7019 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.55, allocations: 0 / 0.7019 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/1.551, allocations: 1.369 MB / 0.7033 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.551, allocations: 0 / 0.7033 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/1.551, allocations: 68.03 kB / 0.7033 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.551, allocations: 8 kB / 0.7034 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/1.551, allocations: 12.5 kB / 0.7034 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.551, allocations: 7.938 kB / 0.7034 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.551, allocations: 3.938 kB / 0.7034 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/1.551, allocations: 0.711 MB / 0.7041 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/1.551, allocations: 129.2 kB / 0.7042 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/1.551, allocations: 16.56 kB / 0.7042 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.552, allocations: 4 kB / 0.7042 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/1.552, allocations: 35.88 kB / 0.7042 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/1.552, allocations: 20 kB / 0.7043 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001989/1.552, allocations: 318.8 kB / 0.7046 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/1.552, allocations: 0 / 0.7046 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002731/1.555, allocations: 1.523 MB / 0.7061 GB, free: 2.312 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.1963/1.751, allocations: 2.341 MB / 0.7083 GB, free: 88.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006506/1.751, allocations: 454.4 kB / 0.7088 GB, free: 88.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.751, allocations: 4.438 kB / 0.7088 GB, free: 88.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/1.752, allocations: 172 kB / 0.7089 GB, free: 88.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/1.753, allocations: 297.8 kB / 0.7092 GB, free: 88.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/1.754, allocations: 1.309 MB / 0.7105 GB, free: 87.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/1.755, allocations: 179.1 kB / 0.7107 GB, free: 87.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002487/1.755, allocations: 88.56 kB / 0.7108 GB, free: 87.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/1.755, allocations: 47.38 kB / 0.7108 GB, free: 87.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.183e-06/1.755, allocations: 0.75 kB / 0.7108 GB, free: 87.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.04402/1.799, allocations: 51.87 MB / 0.7615 GB, free: 75.42 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: 5.357933563645929]