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.7729/0.7729, allocations: 111.6 MB / 131 MB, free: 5.07 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.654e-06/1.654e-06, allocations: 0 / 175.7 MB, free: 9.438 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.425e-05, allocations: 5.125 kB / 175.7 MB, free: 9.434 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.6/1.6, allocations: 255.7 MB / 431.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4005/2, allocations: 163.8 MB / 0.5813 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004249/2.001, allocations: 23.81 kB / 0.5813 GB, free: 7.312 MB / 0.4948 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.0005516/2.001, allocations: 161 kB / 0.5815 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007624/2.002, allocations: 303.7 kB / 0.5818 GB, free: 6.859 MB / 0.4948 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.04576/2.048, allocations: 11.23 MB / 0.5927 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002053/2.05, allocations: 0.8715 MB / 0.5936 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000782/2.051, allocations: 337 kB / 0.5939 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/2.052, allocations: 0.5377 MB / 0.5944 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006015/2.053, allocations: 235.2 kB / 0.5947 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/2.053, allocations: 64 kB / 0.5947 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06284/2.116, allocations: 18.24 MB / 0.6125 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/2.116, allocations: 179.3 kB / 0.6127 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006625/2.117, allocations: 255.3 kB / 0.613 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.03855/2.155, allocations: 12.5 MB / 0.6252 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/2.155, allocations: 0 / 0.6252 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.174e-06/2.155, allocations: 4 kB / 0.6252 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.484e-05/2.155, allocations: 0 / 0.6252 GB, free: 10.43 MB / 0.5417 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.006993/2.162, allocations: 2.084 MB / 0.6272 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/2.162, allocations: 15.98 kB / 0.6272 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/2.162, allocations: 151.4 kB / 0.6274 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007127/2.163, allocations: 417.2 kB / 0.6278 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.339e-05/2.163, allocations: 45.31 kB / 0.6278 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/2.163, allocations: 64 kB / 0.6279 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/2.165, allocations: 0.711 MB / 0.6286 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/2.165, allocations: 3.938 kB / 0.6286 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/2.165, allocations: 35.98 kB / 0.6286 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/2.165, allocations: 35.86 kB / 0.6286 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008341/2.166, allocations: 437.6 kB / 0.629 GB, free: 6.348 MB / 0.5417 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.01565/2.181, allocations: 6.218 MB / 0.6351 GB, free: 52 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/2.181, allocations: 105.1 kB / 0.6352 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/2.182, allocations: 69.7 kB / 0.6353 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1593/2.341, allocations: 43.82 MB / 0.6781 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/2.341, allocations: 38.5 kB / 0.6781 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=46): time 1.863e-06/2.341, allocations: 0 / 0.6781 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of matching and sorting (n=46): time 0.0008435/2.342, allocations: 325.2 kB / 0.6784 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/2.342, allocations: 85.11 kB / 0.6785 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/2.343, allocations: 0.4977 MB / 0.679 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/2.343, allocations: 29.7 kB / 0.679 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/2.343, allocations: 380.2 kB / 0.6794 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/2.343, allocations: 158.6 kB / 0.6795 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/2.343, allocations: 125.3 kB / 0.6797 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002098/2.343, allocations: 350.8 kB / 0.68 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/2.344, allocations: 100.6 kB / 0.6801 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/2.344, allocations: 278.2 kB / 0.6803 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/2.345, allocations: 427.7 kB / 0.6808 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/2.345, allocations: 0 / 0.6808 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001079/2.346, allocations: 473.3 kB / 0.6812 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/2.346, allocations: 16.06 kB / 0.6812 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/2.346, allocations: 4 kB / 0.6812 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/2.346, allocations: 8 kB / 0.6812 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/2.346, allocations: 71.84 kB / 0.6813 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/2.346, allocations: 12.69 kB / 0.6813 GB, free: 452 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/2.346, allocations: 59.52 kB / 0.6814 GB, free: 392 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/2.346, allocations: 20.81 kB / 0.6814 GB, free: 372 kB / 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 (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.0003001/2.347, allocations: 209.6 kB / 0.6816 GB, free: 152 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/2.347, allocations: 59.56 kB / 0.6816 GB, free: 92 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/2.348, allocations: 0.6576 MB / 0.6823 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006662/2.349, allocations: 468.6 kB / 0.6827 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.349, allocations: 3.938 kB / 0.6827 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/2.349, allocations: 3.984 kB / 0.6827 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/2.351, allocations: 1.387 MB / 0.6841 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/2.351, allocations: 4 kB / 0.6841 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/2.351, allocations: 71.91 kB / 0.6842 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/2.351, allocations: 0 / 0.6842 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/2.351, allocations: 8 kB / 0.6842 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/2.351, allocations: 4.875 kB / 0.6842 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/2.351, allocations: 7.938 kB / 0.6842 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/2.352, allocations: 0.7231 MB / 0.6849 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/2.352, allocations: 121.3 kB / 0.685 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/2.352, allocations: 15.94 kB / 0.685 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/2.352, allocations: 11.98 kB / 0.685 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/2.353, allocations: 31.89 kB / 0.6851 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/2.353, allocations: 16.62 kB / 0.6851 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004503/2.353, allocations: 330.8 kB / 0.6854 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/2.353, allocations: 0 / 0.6854 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003678/2.357, allocations: 1.531 MB / 0.6869 GB, free: 10.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.006696/2.363, allocations: 2.336 MB / 0.6892 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008885/2.364, allocations: 0.5423 MB / 0.6897 GB, free: 7.699 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/2.364, allocations: 4 kB / 0.6897 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/2.365, allocations: 195.7 kB / 0.6899 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/2.366, allocations: 308.7 kB / 0.6902 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/2.368, allocations: 1.387 MB / 0.6915 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/2.369, allocations: 412.1 kB / 0.6919 GB, free: 5.336 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002797/2.369, allocations: 75.38 kB / 0.692 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/2.369, allocations: 56.48 kB / 0.6921 GB, free: 5.207 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/2.369, allocations: 0 / 0.6921 GB, free: 5.207 MB / 0.6042 GB Notification: Performance of Templates: time 0.2751/2.644, allocations: 51.15 MB / 0.742 GB, free: 124.8 MB / 0.6355 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.794253116939217]