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.8877/0.8877, allocations: 153.8 MB / 173.4 MB, free: 4.922 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.0005502/0.0005502, allocations: 11.97 kB / 251.1 MB, free: 3.953 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2034, allocations: 33.36 MB / 284.5 MB, free: 2.117 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 2.042/2.245, allocations: 308.9 MB / 0.5795 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2256/2.471, allocations: 189.7 MB / 0.7647 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006426/2.471, allocations: 19.88 kB / 0.7647 GB, free: 5.957 MB / 0.6231 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.0005912/2.472, allocations: 193.1 kB / 0.7649 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0006985/2.473, allocations: 293.8 kB / 0.7652 GB, free: 5.48 MB / 0.6231 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.03417/2.507, allocations: 11.26 MB / 0.7762 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002035/2.509, allocations: 0.8368 MB / 0.777 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/2.509, allocations: 328.6 kB / 0.7773 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005122/2.51, allocations: 370.5 kB / 0.7777 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/2.51, allocations: 339.4 kB / 0.778 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.452e-05/2.51, allocations: 60 kB / 0.7781 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03987/2.55, allocations: 19.53 MB / 0.7971 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/2.551, allocations: 179.3 kB / 0.7973 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005476/2.551, allocations: 397.9 kB / 0.7977 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02791/2.579, allocations: 10 MB / 0.8075 GB, free: 10.14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/2.579, allocations: 0 / 0.8075 GB, free: 10.14 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.533e-06/2.579, allocations: 0 / 0.8075 GB, free: 10.14 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.028e-05/2.579, allocations: 0 / 0.8075 GB, free: 10.14 MB / 0.67 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.006337/2.586, allocations: 2.106 MB / 0.8095 GB, free: 7.992 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/2.586, allocations: 8.031 kB / 0.8095 GB, free: 7.984 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/2.586, allocations: 103.4 kB / 0.8096 GB, free: 7.883 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007728/2.587, allocations: 405.1 kB / 0.81 GB, free: 7.457 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/2.587, allocations: 53.31 kB / 0.8101 GB, free: 7.406 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/2.587, allocations: 64 kB / 0.8101 GB, free: 7.344 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/2.588, allocations: 0.7148 MB / 0.8108 GB, free: 6.59 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/2.588, allocations: 0 / 0.8108 GB, free: 6.59 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/2.588, allocations: 30.44 kB / 0.8108 GB, free: 6.562 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/2.588, allocations: 28.92 kB / 0.8109 GB, free: 6.535 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/2.589, allocations: 441.6 kB / 0.8113 GB, free: 6.105 MB / 0.67 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.01651/2.605, allocations: 7.329 MB / 0.8184 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/2.606, allocations: 109.1 kB / 0.8186 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/2.606, allocations: 69.77 kB / 0.8186 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3659/2.972, allocations: 43.59 MB / 0.8612 GB, free: 295.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/2.972, allocations: 34.56 kB / 0.8612 GB, free: 295.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.415e-06/2.972, allocations: 0 / 0.8612 GB, free: 295.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.0007446/2.972, allocations: 348.5 kB / 0.8616 GB, free: 294.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/2.972, allocations: 80.95 kB / 0.8616 GB, free: 294.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/2.973, allocations: 0.6035 MB / 0.8622 GB, free: 294.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/2.973, allocations: 25.7 kB / 0.8622 GB, free: 294.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/2.973, allocations: 366.9 kB / 0.8626 GB, free: 294.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/2.973, allocations: 166.8 kB / 0.8628 GB, free: 293.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/2.973, allocations: 114.7 kB / 0.8629 GB, free: 293.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.23e-05/2.973, allocations: 362.7 kB / 0.8632 GB, free: 293.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/2.974, allocations: 102.9 kB / 0.8633 GB, free: 293.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/2.974, allocations: 278.7 kB / 0.8636 GB, free: 293.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/2.974, allocations: 431.1 kB / 0.864 GB, free: 292.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/2.974, allocations: 4 kB / 0.864 GB, free: 292.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005785/2.975, allocations: 466 kB / 0.8644 GB, free: 292.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/2.975, allocations: 8.75 kB / 0.8644 GB, free: 292.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/2.975, allocations: 4 kB / 0.8644 GB, free: 292.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/2.975, allocations: 14.53 kB / 0.8645 GB, free: 292.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/2.975, allocations: 69.97 kB / 0.8645 GB, free: 292.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/2.975, allocations: 18.55 kB / 0.8645 GB, free: 292.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/2.975, allocations: 70.42 kB / 0.8646 GB, free: 292.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/2.976, allocations: 20 kB / 0.8646 GB, free: 292.3 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.0002173/2.976, allocations: 208.4 kB / 0.8648 GB, free: 292.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/2.976, allocations: 67.53 kB / 0.8649 GB, free: 292.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/2.976, allocations: 0.6739 MB / 0.8656 GB, free: 291.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004064/2.977, allocations: 460 kB / 0.866 GB, free: 291.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/2.977, allocations: 7.938 kB / 0.866 GB, free: 291.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/2.977, allocations: 3.984 kB / 0.866 GB, free: 291.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/2.978, allocations: 1.551 MB / 0.8675 GB, free: 290 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/2.978, allocations: 0 / 0.8675 GB, free: 290 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/2.979, allocations: 71.53 kB / 0.8676 GB, free: 290 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/2.979, allocations: 4 kB / 0.8676 GB, free: 290 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/2.979, allocations: 12.12 kB / 0.8676 GB, free: 290 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/2.979, allocations: 3.094 kB / 0.8676 GB, free: 290 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.979, allocations: 7.656 kB / 0.8676 GB, free: 290 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/2.979, allocations: 0.7186 MB / 0.8683 GB, free: 289.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/2.979, allocations: 133.8 kB / 0.8684 GB, free: 289.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/2.979, allocations: 8 kB / 0.8684 GB, free: 289.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/2.98, allocations: 8 kB / 0.8685 GB, free: 289.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/2.98, allocations: 38.88 kB / 0.8685 GB, free: 289 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/2.98, allocations: 16 kB / 0.8685 GB, free: 289 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003439/2.98, allocations: 419 kB / 0.8689 GB, free: 288.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/2.98, allocations: 0 / 0.8689 GB, free: 288.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003697/2.984, allocations: 1.519 MB / 0.8704 GB, free: 287.3 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.00492/2.989, allocations: 2.163 MB / 0.8725 GB, free: 285.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006994/2.989, allocations: 0.5429 MB / 0.873 GB, free: 285 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.989, allocations: 0 / 0.873 GB, free: 285 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/2.989, allocations: 194.5 kB / 0.8732 GB, free: 284.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/2.991, allocations: 310.5 kB / 0.8735 GB, free: 284.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/2.993, allocations: 1.46 MB / 0.8749 GB, free: 283 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/2.993, allocations: 0.992 MB / 0.8759 GB, free: 282 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/2.993, allocations: 63.42 kB / 0.876 GB, free: 282 MB / 0.6856 GB Notification: Performance of SimCode: time 7.42e-07/2.993, allocations: 0 / 0.876 GB, free: 282 MB / 0.6856 GB Notification: Performance of Templates: time 0.03855/3.032, allocations: 31.84 MB / 0.9071 GB, free: 250.8 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: 12.477432409999892] Failed to read output from testmodel.py, exit status != 0: 3.182959086028859 3.192369205 0.6108866350000001 Calling exit ...