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.8917/0.8917, allocations: 153.8 MB / 173.4 MB, free: 4.867 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005601/0.0005601, allocations: 23.95 kB / 251.1 MB, free: 3.863 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1762, allocations: 33.35 MB / 284.4 MB, free: 2.055 MB / 222.1 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.907/2.083, allocations: 308.8 MB / 0.5793 GB, free: 17.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2017/2.285, allocations: 163.7 MB / 0.7391 GB, free: 172 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004922/2.285, allocations: 19.88 kB / 0.7391 GB, free: 152 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 master/Fluid/BoundaryConditions/SourcePQ.mo:75:3-76: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 master/Fluid/BoundaryConditions/Sink.mo:40:3-41: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.0005347/2.286, allocations: 163.8 kB / 0.7393 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006348/2.286, allocations: 289.8 kB / 0.7396 GB, free: 15.7 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.03018/2.317, allocations: 11.1 MB / 0.7504 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001276/2.318, allocations: 0.8344 MB / 0.7512 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004427/2.318, allocations: 327 kB / 0.7515 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/2.319, allocations: 374.5 kB / 0.7519 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/2.319, allocations: 294.4 kB / 0.7522 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-05/2.319, allocations: 60 kB / 0.7522 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03424/2.353, allocations: 18.21 MB / 0.77 GB, free: 488 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/2.354, allocations: 175.3 kB / 0.7702 GB, free: 312 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004239/2.354, allocations: 318.4 kB / 0.7705 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0218/2.376, allocations: 10 MB / 0.7803 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/2.376, allocations: 0 / 0.7803 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/2.376, allocations: 0 / 0.7803 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.045e-05/2.376, allocations: 2.438 kB / 0.7803 GB, free: 5.961 MB / 0.6387 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.004812/2.381, allocations: 2.106 MB / 0.7823 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/2.381, allocations: 8.031 kB / 0.7823 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/2.381, allocations: 99.39 kB / 0.7824 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006589/2.382, allocations: 397.2 kB / 0.7828 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/2.382, allocations: 53.31 kB / 0.7828 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/2.382, allocations: 64 kB / 0.7829 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/2.383, allocations: 0.7079 MB / 0.7836 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/2.383, allocations: 12.8 kB / 0.7836 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/2.383, allocations: 24 kB / 0.7836 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/2.383, allocations: 27.98 kB / 0.7837 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/2.384, allocations: 436.4 kB / 0.7841 GB, free: 1.945 MB / 0.6387 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.01525/2.399, allocations: 6.196 MB / 0.7901 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/2.399, allocations: 101.1 kB / 0.7902 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/2.399, allocations: 66.17 kB / 0.7903 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3367/2.736, allocations: 43.77 MB / 0.833 GB, free: 303.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/2.736, allocations: 33.92 kB / 0.8331 GB, free: 303 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.604e-06/2.736, allocations: 0 / 0.8331 GB, free: 303 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.0006673/2.737, allocations: 326.8 kB / 0.8334 GB, free: 303 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/2.737, allocations: 83.64 kB / 0.8335 GB, free: 302.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005618/2.737, allocations: 0.4941 MB / 0.8339 GB, free: 302.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/2.737, allocations: 25.7 kB / 0.834 GB, free: 302.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/2.737, allocations: 377 kB / 0.8343 GB, free: 302.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/2.738, allocations: 160.6 kB / 0.8345 GB, free: 302.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/2.738, allocations: 130.6 kB / 0.8346 GB, free: 302.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.871e-05/2.738, allocations: 351.7 kB / 0.8349 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/2.738, allocations: 103.9 kB / 0.835 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/2.738, allocations: 280.7 kB / 0.8353 GB, free: 301.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/2.739, allocations: 428.8 kB / 0.8357 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/2.739, allocations: 2.5 kB / 0.8357 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006616/2.739, allocations: 451.8 kB / 0.8361 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/2.739, allocations: 7.031 kB / 0.8361 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/2.739, allocations: 9.281 kB / 0.8362 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/2.739, allocations: 7.906 kB / 0.8362 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/2.74, allocations: 72.66 kB / 0.8362 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/2.74, allocations: 17.33 kB / 0.8362 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/2.74, allocations: 55.53 kB / 0.8363 GB, free: 301.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/2.74, allocations: 24.62 kB / 0.8363 GB, free: 301.6 MB / 0.6856 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.0002062/2.74, allocations: 212.8 kB / 0.8365 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/2.74, allocations: 54.25 kB / 0.8366 GB, free: 301.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007622/2.741, allocations: 0.6537 MB / 0.8372 GB, free: 301.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004819/2.741, allocations: 462.3 kB / 0.8377 GB, free: 301.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.741, allocations: 1.344 kB / 0.8377 GB, free: 301.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/2.741, allocations: 6.703 kB / 0.8377 GB, free: 301.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/2.743, allocations: 1.389 MB / 0.839 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/2.743, allocations: 7 kB / 0.839 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/2.743, allocations: 69.67 kB / 0.8391 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/2.743, allocations: 5.281 kB / 0.8391 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/2.743, allocations: 9.859 kB / 0.8391 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/2.743, allocations: 3.406 kB / 0.8391 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/2.743, allocations: 2.938 kB / 0.8391 GB, free: 300.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/2.744, allocations: 0.7079 MB / 0.8398 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/2.744, allocations: 123.5 kB / 0.8399 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/2.744, allocations: 18.64 kB / 0.8399 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/2.744, allocations: 7.719 kB / 0.84 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/2.744, allocations: 29.53 kB / 0.84 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/2.744, allocations: 13.94 kB / 0.84 GB, free: 300.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003325/2.745, allocations: 330.6 kB / 0.8403 GB, free: 300.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/2.745, allocations: 0 / 0.8403 GB, free: 300.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003405/2.748, allocations: 1.535 MB / 0.8418 GB, free: 300.4 MB / 0.6856 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.004968/2.753, allocations: 2.155 MB / 0.8439 GB, free: 300.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006742/2.754, allocations: 0.537 MB / 0.8444 GB, free: 300 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/2.754, allocations: 3.938 kB / 0.8444 GB, free: 300 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/2.754, allocations: 199.3 kB / 0.8446 GB, free: 300 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/2.755, allocations: 299.8 kB / 0.8449 GB, free: 300 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/2.757, allocations: 1.449 MB / 0.8463 GB, free: 299.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/2.757, allocations: 399.6 kB / 0.8467 GB, free: 299.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.015e-05/2.757, allocations: 51.75 kB / 0.8468 GB, free: 299.2 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/2.757, allocations: 1.719 kB / 0.8468 GB, free: 299.2 MB / 0.6856 GB Notification: Performance of Templates: time 0.03627/2.794, allocations: 31.75 MB / 0.8778 GB, free: 282.2 MB / 0.6856 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: 11.9996847207658] Failed to read output from testmodel.py, exit status != 0: 2.9166306708939373 2.926534492 0.5482178600000001 Calling exit ...