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.4588/0.4588, allocations: 111.6 MB / 131.2 MB, free: 4.598 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.313e-06/1.313e-06, allocations: 0 / 176.2 MB, free: 9.168 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.597e-05, allocations: 4.984 kB / 176.2 MB, free: 9.164 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 0.9829/0.9829, allocations: 258.4 MB / 434.6 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3128/1.296, allocations: 180.4 MB / 0.6006 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/1.296, allocations: 15.88 kB / 0.6006 GB, free: 14.73 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.0003749/1.296, allocations: 165.5 kB / 0.6008 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004196/1.297, allocations: 303.6 kB / 0.601 GB, free: 14.28 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.01898/1.316, allocations: 11.25 MB / 0.612 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006872/1.317, allocations: 0.8695 MB / 0.6129 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000434/1.317, allocations: 340.6 kB / 0.6132 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004222/1.317, allocations: 0.5455 MB / 0.6137 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/1.318, allocations: 227.3 kB / 0.6139 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.165e-05/1.318, allocations: 60 kB / 0.614 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02077/1.338, allocations: 18.26 MB / 0.6318 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/1.339, allocations: 171.3 kB / 0.632 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002075/1.339, allocations: 251.4 kB / 0.6322 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01546/1.354, allocations: 12.21 MB / 0.6442 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.354, allocations: 0 / 0.6442 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.352e-06/1.354, allocations: 0 / 0.6442 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.598e-06/1.354, allocations: 0 / 0.6442 GB, free: 2.129 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.003345/1.358, allocations: 2.191 MB / 0.6463 GB, free: 15.88 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/1.358, allocations: 11.98 kB / 0.6463 GB, free: 15.87 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/1.358, allocations: 159.4 kB / 0.6465 GB, free: 15.71 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/1.358, allocations: 427.9 kB / 0.6469 GB, free: 15.27 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/1.358, allocations: 49.31 kB / 0.6469 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/1.358, allocations: 63.94 kB / 0.647 GB, free: 15.16 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/1.359, allocations: 0.5964 MB / 0.6476 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.359, allocations: 0 / 0.6476 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/1.359, allocations: 28 kB / 0.6476 GB, free: 14.48 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/1.359, allocations: 31.92 kB / 0.6476 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/1.359, allocations: 256.9 kB / 0.6479 GB, free: 14.2 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.007418/1.367, allocations: 6.685 MB / 0.6544 GB, free: 7.406 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/1.367, allocations: 90.17 kB / 0.6545 GB, free: 7.293 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/1.367, allocations: 51.42 kB / 0.6545 GB, free: 7.234 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03927/1.406, allocations: 23.44 MB / 0.6774 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/1.406, allocations: 37.39 kB / 0.6775 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 2.044e-06/1.406, allocations: 3.938 kB / 0.6775 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46): time 0.0004349/1.407, allocations: 270.8 kB / 0.6777 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/1.407, allocations: 84.98 kB / 0.6778 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/1.407, allocations: 0.5023 MB / 0.6783 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/1.407, allocations: 25.7 kB / 0.6783 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/1.407, allocations: 431 kB / 0.6787 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/1.407, allocations: 166.6 kB / 0.6789 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/1.407, allocations: 127.2 kB / 0.679 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.407, allocations: 0.5235 MB / 0.6795 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/1.408, allocations: 56.62 kB / 0.6796 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/1.408, allocations: 316.7 kB / 0.6799 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/1.408, allocations: 418.7 kB / 0.6803 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.408, allocations: 0 / 0.6803 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0003991/1.408, allocations: 400.7 kB / 0.6806 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.408, allocations: 8 kB / 0.6807 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.408, allocations: 8.75 kB / 0.6807 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.409, allocations: 8 kB / 0.6807 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/1.409, allocations: 83.77 kB / 0.6808 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.409, allocations: 11.94 kB / 0.6808 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/1.409, allocations: 56.39 kB / 0.6808 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/1.409, allocations: 20 kB / 0.6808 GB, free: 11.96 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.0001222/1.409, allocations: 180.5 kB / 0.681 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/1.409, allocations: 63.55 kB / 0.6811 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/1.409, allocations: 494.6 kB / 0.6815 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002739/1.41, allocations: 343.8 kB / 0.6819 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.41, allocations: 7.938 kB / 0.6819 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.41, allocations: 0 / 0.6819 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/1.411, allocations: 1.369 MB / 0.6832 GB, free: 9.438 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.411, allocations: 0 / 0.6832 GB, free: 9.438 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/1.411, allocations: 68.42 kB / 0.6833 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.411, allocations: 4 kB / 0.6833 GB, free: 9.367 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.411, allocations: 8 kB / 0.6833 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.411, allocations: 8.484 kB / 0.6833 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.411, allocations: 4 kB / 0.6833 GB, free: 9.348 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/1.412, allocations: 0.7109 MB / 0.684 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.412, allocations: 121.4 kB / 0.6841 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/1.412, allocations: 12 kB / 0.6841 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/1.412, allocations: 12.62 kB / 0.6841 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/1.412, allocations: 35.83 kB / 0.6842 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/1.412, allocations: 19.97 kB / 0.6842 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001975/1.412, allocations: 310.8 kB / 0.6845 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/1.412, allocations: 0 / 0.6845 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002395/1.414, allocations: 1.527 MB / 0.686 GB, free: 6.57 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.003742/1.418, allocations: 2.346 MB / 0.6883 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005294/1.419, allocations: 468.6 kB / 0.6887 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.419, allocations: 8 kB / 0.6887 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.419, allocations: 167.7 kB / 0.6889 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/1.42, allocations: 315.6 kB / 0.6892 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/1.421, allocations: 1.309 MB / 0.6905 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/1.421, allocations: 175.7 kB / 0.6906 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001812/1.422, allocations: 83.3 kB / 0.6907 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/1.422, allocations: 48.5 kB / 0.6908 GB, free: 1.578 MB / 0.6042 GB Notification: Performance of SimCode: time 6.52e-07/1.422, allocations: 4 kB / 0.6908 GB, free: 1.574 MB / 0.6042 GB Notification: Performance of Templates: time 0.2426/1.664, allocations: 63.92 MB / 0.7532 GB, free: 76.87 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.742761768400669]