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.4877/0.4877, allocations: 111.6 MB / 131.4 MB, free: 4.422 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.753e-06/1.753e-06, allocations: 0 / 176.5 MB, free: 8.93 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.247e-05, allocations: 2.312 kB / 176.5 MB, free: 8.926 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.992/0.992, allocations: 258.4 MB / 434.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3157/1.308, allocations: 177 MB / 0.5976 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/1.308, allocations: 19.81 kB / 0.5976 GB, free: 2.113 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.0003823/1.308, allocations: 162.8 kB / 0.5978 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004681/1.309, allocations: 300.5 kB / 0.5981 GB, free: 1.66 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.01999/1.329, allocations: 11.25 MB / 0.609 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0008692/1.33, allocations: 0.8772 MB / 0.6099 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005141/1.33, allocations: 340.9 kB / 0.6102 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/1.331, allocations: 0.5455 MB / 0.6108 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/1.331, allocations: 223.3 kB / 0.611 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/1.331, allocations: 60 kB / 0.611 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02324/1.354, allocations: 18.25 MB / 0.6289 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001838/1.354, allocations: 175.3 kB / 0.629 GB, free: 2 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/1.355, allocations: 255.4 kB / 0.6293 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01883/1.374, allocations: 12.21 MB / 0.6412 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.374, allocations: 0 / 0.6412 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.503e-06/1.374, allocations: 4 kB / 0.6412 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.889e-06/1.374, allocations: 0 / 0.6412 GB, free: 5.508 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.003685/1.377, allocations: 2.199 MB / 0.6433 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.377, allocations: 15.98 kB / 0.6434 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/1.377, allocations: 155.3 kB / 0.6435 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/1.378, allocations: 428 kB / 0.6439 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/1.378, allocations: 45.31 kB / 0.644 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/1.378, allocations: 64 kB / 0.644 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/1.378, allocations: 0.5571 MB / 0.6446 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.378, allocations: 4 kB / 0.6446 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/1.378, allocations: 28 kB / 0.6446 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/1.378, allocations: 31.92 kB / 0.6446 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/1.379, allocations: 213.5 kB / 0.6448 GB, free: 1.648 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.007467/1.386, allocations: 6.488 MB / 0.6512 GB, free: 11.07 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/1.386, allocations: 90.09 kB / 0.6512 GB, free: 10.96 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/1.386, allocations: 39.38 kB / 0.6513 GB, free: 10.91 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03347/1.42, allocations: 20.51 MB / 0.6713 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.42, allocations: 41.38 kB / 0.6714 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=46): time 1.834e-06/1.42, allocations: 0 / 0.6714 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=46): time 0.0004021/1.42, allocations: 247.8 kB / 0.6716 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/1.42, allocations: 81.09 kB / 0.6717 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/1.421, allocations: 0.502 MB / 0.6722 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/1.421, allocations: 29.7 kB / 0.6722 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/1.421, allocations: 430.9 kB / 0.6726 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/1.421, allocations: 166.6 kB / 0.6728 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/1.421, allocations: 135.1 kB / 0.6729 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.421, allocations: 0.5312 MB / 0.6734 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/1.421, allocations: 40.62 kB / 0.6734 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/1.421, allocations: 308.7 kB / 0.6737 GB, free: 3.727 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/1.422, allocations: 399.4 kB / 0.6741 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.422, allocations: 0 / 0.6741 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.000332/1.422, allocations: 376.7 kB / 0.6745 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.422, allocations: 8 kB / 0.6745 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.422, allocations: 8.688 kB / 0.6745 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.422, allocations: 8 kB / 0.6745 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/1.422, allocations: 76.78 kB / 0.6746 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/1.422, allocations: 11.94 kB / 0.6746 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/1.422, allocations: 59.52 kB / 0.6746 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/1.422, allocations: 23.92 kB / 0.6747 GB, free: 2.664 MB / 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 (sourceP2.fluid1,sourceP3.fluid1,puitsP2.fluid,plateHeatExchanger.fluid_c,sourceP2.C.ftype,puitsP3.fluid,plateHeatExchanger.fluid_f,sourceP3.C.ftype) * 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.000126/1.422, allocations: 180.5 kB / 0.6748 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/1.423, allocations: 55.62 kB / 0.6749 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/1.423, allocations: 470 kB / 0.6753 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001932/1.423, allocations: 300.7 kB / 0.6756 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.423, allocations: 1.5 kB / 0.6756 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.423, allocations: 7.938 kB / 0.6756 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/1.424, allocations: 1.229 MB / 0.6768 GB, free: 368 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.424, allocations: 0 / 0.6768 GB, free: 368 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.443e-05/1.424, allocations: 67.92 kB / 0.6769 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/1.424, allocations: 4 kB / 0.6769 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/1.424, allocations: 15.98 kB / 0.6769 GB, free: 280 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.424, allocations: 4 kB / 0.6769 GB, free: 276 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.424, allocations: 3.938 kB / 0.6769 GB, free: 272 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/1.425, allocations: 0.6796 MB / 0.6776 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/1.425, allocations: 121.4 kB / 0.6777 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/1.425, allocations: 16.56 kB / 0.6777 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/1.425, allocations: 8 kB / 0.6777 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/1.425, allocations: 39.81 kB / 0.6778 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/1.425, allocations: 8 kB / 0.6778 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001519/1.425, allocations: 294.7 kB / 0.6781 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/1.425, allocations: 0 / 0.6781 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002732/1.428, allocations: 1.531 MB / 0.6796 GB, free: 13.54 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.004076/1.432, allocations: 2.446 MB / 0.6819 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004158/1.432, allocations: 447.2 kB / 0.6824 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.432, allocations: 0 / 0.6824 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/1.432, allocations: 154.6 kB / 0.6825 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008024/1.433, allocations: 306.4 kB / 0.6828 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/1.435, allocations: 1.297 MB / 0.6841 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/1.435, allocations: 175.7 kB / 0.6842 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001899/1.435, allocations: 79.36 kB / 0.6843 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/1.435, allocations: 262 kB / 0.6846 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/1.435, allocations: 0 / 0.6846 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of Templates: time 0.2411/1.676, allocations: 60.65 MB / 0.7438 GB, free: 85.37 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.277187944855541]