Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.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.864/0.864, allocations: 153.8 MB / 173.4 MB, free: 4.949 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.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.000559/0.000559, allocations: 15.97 kB / 251.1 MB, free: 3.969 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1841, allocations: 33.36 MB / 284.5 MB, free: 2.16 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.TestStaticPlateHeatExchanger): time 1.901/2.086, allocations: 309.6 MB / 0.5802 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2303/2.316, allocations: 192.3 MB / 0.7679 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009705/2.317, allocations: 23.81 kB / 0.768 GB, free: 2.73 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/StaticPlateHeatExchanger.mo:91:3-92: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/StaticPlateHeatExchanger.mo:93:3-94: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/StaticPlateHeatExchanger.mo:95:3-96:52: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/StaticPlateHeatExchanger.mo:97:3-98:51: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/SourceP.mo:59:3-60: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/SinkP.mo:47:3-48: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.0009121/2.318, allocations: 215.8 kB / 0.7682 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/2.319, allocations: 377.1 kB / 0.7685 GB, free: 2.148 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.039/2.358, allocations: 11.9 MB / 0.7802 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002212/2.36, allocations: 1.142 MB / 0.7813 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007583/2.361, allocations: 395 kB / 0.7816 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000927/2.362, allocations: 494.1 kB / 0.7821 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008275/2.363, allocations: 453.9 kB / 0.7826 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/2.363, allocations: 83.94 kB / 0.7826 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04364/2.407, allocations: 19.49 MB / 0.8017 GB, free: 188 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004332/2.407, allocations: 219.3 kB / 0.8019 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008434/2.408, allocations: 0.4973 MB / 0.8024 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02943/2.437, allocations: 10.32 MB / 0.8124 GB, free: 5.117 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/2.437, allocations: 0 / 0.8124 GB, free: 5.117 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.465e-06/2.437, allocations: 0 / 0.8124 GB, free: 5.117 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.915e-05/2.438, allocations: 4 kB / 0.8124 GB, free: 5.113 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.008169/2.446, allocations: 2.341 MB / 0.8147 GB, free: 2.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/2.446, allocations: 8.031 kB / 0.8147 GB, free: 2.723 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/2.446, allocations: 123.3 kB / 0.8149 GB, free: 2.602 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008999/2.447, allocations: 464.8 kB / 0.8153 GB, free: 2.121 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/2.447, allocations: 228.2 kB / 0.8155 GB, free: 1.859 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/2.447, allocations: 72 kB / 0.8156 GB, free: 1.789 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/2.449, allocations: 0.9258 MB / 0.8165 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/2.449, allocations: 4 kB / 0.8165 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/2.449, allocations: 28 kB / 0.8165 GB, free: 0.793 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/2.449, allocations: 43.97 kB / 0.8166 GB, free: 0.75 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/2.451, allocations: 0.6732 MB / 0.8172 GB, free: 76 kB / 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.01798/2.469, allocations: 8.205 MB / 0.8252 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/2.47, allocations: 386 kB / 0.8256 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/2.471, allocations: 202.8 kB / 0.8258 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2914/2.762, allocations: 24.81 MB / 0.85 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/2.762, allocations: 39.02 kB / 0.85 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 3.467e-06/2.762, allocations: 0 / 0.85 GB, free: 297.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.01576/2.778, allocations: 2.905 MB / 0.8529 GB, free: 297.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/2.778, allocations: 56.44 kB / 0.8529 GB, free: 297.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007038/2.779, allocations: 0.6002 MB / 0.8535 GB, free: 297.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/2.779, allocations: 32.25 kB / 0.8536 GB, free: 297.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/2.779, allocations: 404.4 kB / 0.8539 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/2.779, allocations: 301.4 kB / 0.8542 GB, free: 296.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/2.779, allocations: 166.8 kB / 0.8544 GB, free: 296.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/2.779, allocations: 373.2 kB / 0.8547 GB, free: 296.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/2.78, allocations: 236.1 kB / 0.855 GB, free: 296.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/2.78, allocations: 422.2 kB / 0.8554 GB, free: 296.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/2.781, allocations: 0.7044 MB / 0.8561 GB, free: 296 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/2.781, allocations: 3.594 kB / 0.8561 GB, free: 296 MB / 0.6856 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002385/2.784, allocations: 1.04 MB / 0.8571 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/2.784, allocations: 7.938 kB / 0.8571 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/2.784, allocations: 6.938 kB / 0.8571 GB, free: 295.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/2.787, allocations: 0.9538 MB / 0.858 GB, free: 295.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/2.787, allocations: 68.34 kB / 0.8581 GB, free: 295.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/2.789, allocations: 1.399 MB / 0.8595 GB, free: 294.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/2.789, allocations: 106.9 kB / 0.8596 GB, free: 294.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/2.789, allocations: 27.72 kB / 0.8596 GB, free: 294.7 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.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 (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0003208/2.79, allocations: 226.2 kB / 0.8598 GB, free: 294.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/2.79, allocations: 81.53 kB / 0.8599 GB, free: 294.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/2.792, allocations: 1.69 MB / 0.8615 GB, free: 293.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001691/2.794, allocations: 1.174 MB / 0.8627 GB, free: 292.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/2.794, allocations: 0 / 0.8627 GB, free: 292.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/2.794, allocations: 3.984 kB / 0.8627 GB, free: 292.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006516/2.8, allocations: 2.971 MB / 0.8656 GB, free: 291.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/2.8, allocations: 3.984 kB / 0.8656 GB, free: 291.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/2.8, allocations: 91.16 kB / 0.8657 GB, free: 291.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/2.802, allocations: 0.7803 MB / 0.8664 GB, free: 290.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/2.802, allocations: 16 kB / 0.8664 GB, free: 290.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/2.804, allocations: 1.526 MB / 0.8679 GB, free: 289.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/2.804, allocations: 0 / 0.8679 GB, free: 289.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004547/2.809, allocations: 1.585 MB / 0.8695 GB, free: 287.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/2.809, allocations: 187.6 kB / 0.8697 GB, free: 287.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.481e-05/2.809, allocations: 20 kB / 0.8697 GB, free: 287.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/2.81, allocations: 31.97 kB / 0.8697 GB, free: 287.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.646e-05/2.81, allocations: 59.64 kB / 0.8698 GB, free: 287.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/2.81, allocations: 31.38 kB / 0.8698 GB, free: 287.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004162/2.81, allocations: 435 kB / 0.8702 GB, free: 286.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.81, allocations: 0 / 0.8702 GB, free: 286.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004015/2.814, allocations: 1.614 MB / 0.8718 GB, free: 285.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006205/2.821, allocations: 2.248 MB / 0.874 GB, free: 283.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002109/2.823, allocations: 1.052 MB / 0.875 GB, free: 282.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/2.823, allocations: 0 / 0.875 GB, free: 282.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009277/2.824, allocations: 472.1 kB / 0.8755 GB, free: 282.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/2.825, allocations: 402.5 kB / 0.8758 GB, free: 281.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/2.828, allocations: 1.969 MB / 0.8778 GB, free: 279.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/2.829, allocations: 1.081 MB / 0.8788 GB, free: 278.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/2.829, allocations: 59.44 kB / 0.8789 GB, free: 278.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.302e-06/2.829, allocations: 0.9375 kB / 0.8789 GB, free: 278.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.04872/2.877, allocations: 38.8 MB / 0.9168 GB, free: 240.6 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.684520261129364] Failed to read output from testmodel.py, exit status != 0: 3.037481402978301 3.047370088 0.6072243359999999 Calling exit ...