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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8234/0.8234, allocations: 152.6 MB / 169.6 MB, free: 14.93 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 0.0004964/0.0004964, allocations: 14.84 kB / 245.6 MB, free: 15.59 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05799/0.05849, allocations: 33.05 MB / 278.7 MB, free: 0.5898 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger): time 1.644/1.703, allocations: 302.6 MB / 0.5676 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.537/2.239, allocations: 186.7 MB / 0.75 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/2.24, allocations: 16.72 kB / 0.75 GB, free: 14.79 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:35:3-36:54: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 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:37:3-38:54: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 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:39:3-40:51: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 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:41:3-42:52: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 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65: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 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67: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.0005367/2.24, allocations: 185.1 kB / 0.7502 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005247/2.241, allocations: 281.9 kB / 0.7504 GB, free: 14.79 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850: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 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49: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.02929/2.27, allocations: 11.17 MB / 0.7613 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001315/2.272, allocations: 0.8191 MB / 0.7621 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/2.272, allocations: 316.8 kB / 0.7624 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/2.272, allocations: 351.6 kB / 0.7628 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/2.273, allocations: 329 kB / 0.7631 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.716e-05/2.273, allocations: 59.94 kB / 0.7631 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03779/2.311, allocations: 19.5 MB / 0.7822 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002572/2.311, allocations: 150.9 kB / 0.7823 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005529/2.311, allocations: 374.4 kB / 0.7827 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02525/2.337, allocations: 9.954 MB / 0.7924 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/2.337, allocations: 0 / 0.7924 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.074e-06/2.337, allocations: 0.75 kB / 0.7924 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.124e-05/2.337, allocations: 0 / 0.7924 GB, free: 1.812 MB / 0.5919 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.005866/2.343, allocations: 2.102 MB / 0.7945 GB, free: 296 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/2.343, allocations: 10.41 kB / 0.7945 GB, free: 296 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/2.343, allocations: 90.75 kB / 0.7945 GB, free: 248 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006127/2.343, allocations: 430.7 kB / 0.795 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/2.343, allocations: 49.31 kB / 0.795 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/2.343, allocations: 71.73 kB / 0.7951 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/2.345, allocations: 0.7004 MB / 0.7958 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/2.345, allocations: 7.938 kB / 0.7958 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/2.345, allocations: 31.94 kB / 0.7958 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/2.345, allocations: 23.98 kB / 0.7958 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007325/2.345, allocations: 433.1 kB / 0.7962 GB, free: 14.49 MB / 0.6075 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.01747/2.363, allocations: 11.96 MB / 0.8079 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/2.363, allocations: 102.8 kB / 0.808 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/2.363, allocations: 73.77 kB / 0.8081 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1665/2.53, allocations: 77.41 MB / 0.8837 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/2.53, allocations: 38.55 kB / 0.8837 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/2.53, allocations: 0 / 0.8837 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46): time 0.0008661/2.531, allocations: 324.3 kB / 0.884 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/2.531, allocations: 77.11 kB / 0.8841 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/2.531, allocations: 0.4941 MB / 0.8846 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/2.531, allocations: 25.7 kB / 0.8846 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/2.532, allocations: 374.8 kB / 0.885 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/2.532, allocations: 166.1 kB / 0.8851 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/2.532, allocations: 101.6 kB / 0.8852 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002063/2.532, allocations: 362.7 kB / 0.8856 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/2.533, allocations: 104.6 kB / 0.8857 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/2.533, allocations: 282.2 kB / 0.8859 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/2.533, allocations: 423.7 kB / 0.8863 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/2.533, allocations: 7.938 kB / 0.8863 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008378/2.534, allocations: 460.8 kB / 0.8868 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/2.534, allocations: 4.781 kB / 0.8868 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/2.534, allocations: 8 kB / 0.8868 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/2.534, allocations: 11.94 kB / 0.8868 GB, free: 7.453 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/2.535, allocations: 76.58 kB / 0.8869 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.541e-05/2.535, allocations: 11.94 kB / 0.8869 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/2.535, allocations: 75.92 kB / 0.887 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/2.535, allocations: 28.44 kB / 0.887 GB, free: 7.266 MB / 0.7012 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.0002684/2.535, allocations: 185.7 kB / 0.8872 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/2.535, allocations: 55.62 kB / 0.8872 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008895/2.536, allocations: 0.6384 MB / 0.8878 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005801/2.537, allocations: 459.4 kB / 0.8883 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/2.537, allocations: 0.5625 kB / 0.8883 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/2.537, allocations: 0 / 0.8883 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/2.539, allocations: 1.549 MB / 0.8898 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/2.539, allocations: 4.625 kB / 0.8898 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/2.539, allocations: 71.91 kB / 0.8899 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/2.539, allocations: 3.938 kB / 0.8899 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/2.539, allocations: 9.875 kB / 0.8899 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/2.539, allocations: 4.625 kB / 0.8899 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/2.539, allocations: 4.125 kB / 0.8899 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008302/2.54, allocations: 0.699 MB / 0.8906 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/2.54, allocations: 180.4 kB / 0.8907 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/2.54, allocations: 12 kB / 0.8908 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/2.541, allocations: 13.31 kB / 0.8908 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/2.541, allocations: 31.91 kB / 0.8908 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/2.541, allocations: 12 kB / 0.8908 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004144/2.541, allocations: 338.9 kB / 0.8911 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/2.541, allocations: 0 / 0.8911 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004859/2.546, allocations: 1.512 MB / 0.8926 GB, free: 1.387 MB / 0.7012 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.007902/2.554, allocations: 2.167 MB / 0.8947 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009524/2.555, allocations: 0.5417 MB / 0.8953 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.555, allocations: 0 / 0.8953 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/2.555, allocations: 192.9 kB / 0.8954 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/2.557, allocations: 308.6 kB / 0.8957 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/2.559, allocations: 1.324 MB / 0.897 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/2.559, allocations: 0.9621 MB / 0.898 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/2.56, allocations: 59.38 kB / 0.898 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/2.56, allocations: 0 / 0.898 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.05387/2.613, allocations: 31.77 MB / 0.929 GB, free: 12.3 MB / 0.7481 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: 12.030356396920979] Failed to read output from testmodel.py, exit status != 0: 2.789078349014744 3.030740731 0.691819458 Calling exit ...