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.8413/0.8413, allocations: 120.4 MB / 139.5 MB, free: 488 kB / 126.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 2.224e-06/2.224e-06, allocations: 0 / 217.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.646e-05, allocations: 7.859 kB / 217.2 MB, free: 13.73 MB / 206.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.501/1.501, allocations: 255.5 MB / 472.7 MB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4084/1.91, allocations: 163.7 MB / 0.6215 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004278/1.91, allocations: 23.81 kB / 0.6215 GB, free: 4.984 MB / 0.5606 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.0005447/1.911, allocations: 162.7 kB / 0.6217 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006998/1.912, allocations: 298.5 kB / 0.622 GB, free: 4.531 MB / 0.5606 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.03169/1.943, allocations: 11.22 MB / 0.6329 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001252/1.944, allocations: 0.8752 MB / 0.6338 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/1.945, allocations: 320.9 kB / 0.6341 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007906/1.946, allocations: 0.5493 MB / 0.6346 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/1.946, allocations: 231.2 kB / 0.6348 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/1.946, allocations: 60 kB / 0.6349 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03476/1.981, allocations: 18.24 MB / 0.6527 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000227/1.981, allocations: 179.3 kB / 0.6529 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003995/1.982, allocations: 251.4 kB / 0.6531 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02429/2.006, allocations: 12.49 MB / 0.6653 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/2.006, allocations: 3.938 kB / 0.6653 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/2.006, allocations: 0 / 0.6653 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.48e-05/2.006, allocations: 4 kB / 0.6653 GB, free: 8.051 MB / 0.6075 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.00483/2.011, allocations: 2.082 MB / 0.6674 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/2.011, allocations: 8.031 kB / 0.6674 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/2.011, allocations: 99.39 kB / 0.6675 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/2.012, allocations: 407.1 kB / 0.6679 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/2.012, allocations: 49.31 kB / 0.6679 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/2.012, allocations: 64 kB / 0.668 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/2.013, allocations: 0.7071 MB / 0.6687 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/2.013, allocations: 0 / 0.6687 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/2.013, allocations: 28.56 kB / 0.6687 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/2.013, allocations: 31.92 kB / 0.6687 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/2.014, allocations: 447.1 kB / 0.6691 GB, free: 4.047 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.01457/2.028, allocations: 6.184 MB / 0.6752 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/2.028, allocations: 102.2 kB / 0.6753 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/2.029, allocations: 69.77 kB / 0.6753 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1592/2.188, allocations: 43.76 MB / 0.7181 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/2.188, allocations: 38.5 kB / 0.7181 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 2.504e-06/2.188, allocations: 4 kB / 0.7181 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46): time 0.000798/2.189, allocations: 326.8 kB / 0.7184 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/2.189, allocations: 77.11 kB / 0.7185 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/2.189, allocations: 497.7 kB / 0.719 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/2.189, allocations: 33.7 kB / 0.719 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/2.19, allocations: 380.2 kB / 0.7194 GB, free: 412 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/2.19, allocations: 154.6 kB / 0.7195 GB, free: 256 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/2.19, allocations: 130.5 kB / 0.7196 GB, free: 120 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.1751/2.365, allocations: 346.8 kB / 0.72 GB, free: 291.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/2.365, allocations: 96.16 kB / 0.7201 GB, free: 291.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/2.366, allocations: 280.6 kB / 0.7203 GB, free: 290.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/2.366, allocations: 437.4 kB / 0.7208 GB, free: 290.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/2.366, allocations: 0 / 0.7208 GB, free: 290.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007957/2.367, allocations: 450.3 kB / 0.7212 GB, free: 290.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/2.367, allocations: 8.062 kB / 0.7212 GB, free: 290.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/2.367, allocations: 8.156 kB / 0.7212 GB, free: 290.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/2.367, allocations: 7.703 kB / 0.7212 GB, free: 290.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/2.368, allocations: 79.25 kB / 0.7213 GB, free: 290.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/2.368, allocations: 14.72 kB / 0.7213 GB, free: 290.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/2.368, allocations: 53.05 kB / 0.7213 GB, free: 290.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/2.368, allocations: 21.97 kB / 0.7214 GB, free: 290.5 MB / 0.6544 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.000255/2.368, allocations: 206.6 kB / 0.7216 GB, free: 290.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/2.368, allocations: 56.22 kB / 0.7216 GB, free: 290.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007738/2.369, allocations: 0.6495 MB / 0.7223 GB, free: 290.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004851/2.37, allocations: 478.2 kB / 0.7227 GB, free: 289.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.37, allocations: 3.938 kB / 0.7227 GB, free: 289.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/2.37, allocations: 7.078 kB / 0.7227 GB, free: 289.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/2.371, allocations: 1.386 MB / 0.7241 GB, free: 289.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/2.371, allocations: 5.125 kB / 0.7241 GB, free: 289.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/2.371, allocations: 70.08 kB / 0.7241 GB, free: 289.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/2.371, allocations: 0.75 kB / 0.7241 GB, free: 289.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/2.371, allocations: 11.94 kB / 0.7242 GB, free: 289.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/2.371, allocations: 8.234 kB / 0.7242 GB, free: 289.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/2.371, allocations: 7.875 kB / 0.7242 GB, free: 289.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/2.372, allocations: 0.6978 MB / 0.7249 GB, free: 288.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/2.372, allocations: 123.5 kB / 0.725 GB, free: 288.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/2.372, allocations: 8.5 kB / 0.725 GB, free: 288.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/2.372, allocations: 13.55 kB / 0.725 GB, free: 288.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/2.372, allocations: 39.42 kB / 0.725 GB, free: 288.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/2.372, allocations: 11.47 kB / 0.725 GB, free: 288.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002729/2.373, allocations: 330.3 kB / 0.7254 GB, free: 288.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/2.373, allocations: 0 / 0.7254 GB, free: 288.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003144/2.376, allocations: 1.532 MB / 0.7269 GB, free: 288.3 MB / 0.6544 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.005462/2.381, allocations: 2.352 MB / 0.7291 GB, free: 288.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007124/2.382, allocations: 0.5388 MB / 0.7297 GB, free: 287.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/2.382, allocations: 0.5469 kB / 0.7297 GB, free: 287.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/2.382, allocations: 202.6 kB / 0.7299 GB, free: 287.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/2.384, allocations: 294.1 kB / 0.7301 GB, free: 287.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/2.385, allocations: 1.368 MB / 0.7315 GB, free: 286.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/2.386, allocations: 405.7 kB / 0.7319 GB, free: 286.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002726/2.386, allocations: 84.81 kB / 0.732 GB, free: 286.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/2.386, allocations: 44.5 kB / 0.732 GB, free: 286.4 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/2.386, allocations: 0 / 0.732 GB, free: 286.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.05294/2.439, allocations: 50.88 MB / 0.7817 GB, free: 236.4 MB / 0.6544 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.884267572313547] Failed to read output from testmodel.py, exit status != 0: 2.566017121076584 2.5748731830000002 0.5665852020000001 Calling exit ...