Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.8696/0.8696, allocations: 152.6 MB / 170.1 MB, free: 14.41 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.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.0005379, allocations: 17.38 kB / 246.8 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06198/0.06251, allocations: 33.07 MB / 279.8 MB, free: 15.79 MB / 238.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.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 1.72/1.783, allocations: 302.6 MB / 0.5688 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0329/1.816, allocations: 23.08 MB / 0.5913 GB, free: 9.336 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003945/1.816, allocations: 4 kB / 0.5913 GB, free: 9.332 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42:writable] Warning: Connector Ec is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:84:3-86:38:writable] Warning: Connector Ef is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:87:3-89:37:writable] Warning: Connector Sf is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:90:3-92:37:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005832/1.817, allocations: 200.5 kB / 0.5915 GB, free: 9.137 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007455/1.817, allocations: 321.8 kB / 0.5918 GB, free: 8.82 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02001/1.837, allocations: 7.323 MB / 0.599 GB, free: 1.496 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/1.839, allocations: 0.9841 MB / 0.5999 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/1.839, allocations: 240.2 kB / 0.6002 GB, free: 276 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/1.84, allocations: 382.6 kB / 0.6005 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/1.84, allocations: 326.5 kB / 0.6009 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.23e-05/1.84, allocations: 48 kB / 0.6009 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02846/1.869, allocations: 15.39 MB / 0.6159 GB, free: 124 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/1.869, allocations: 135.5 kB / 0.6161 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005092/1.87, allocations: 362.2 kB / 0.6164 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0161/1.886, allocations: 6.937 MB / 0.6232 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.886, allocations: 0 / 0.6232 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.886, allocations: 0 / 0.6232 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.205e-05/1.886, allocations: 0 / 0.6232 GB, free: 8.68 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004895/1.891, allocations: 1.585 MB / 0.6247 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/1.891, allocations: 12.03 kB / 0.6247 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/1.891, allocations: 80.36 kB / 0.6248 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/1.891, allocations: 350.7 kB / 0.6251 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/1.891, allocations: 126.1 kB / 0.6253 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/1.891, allocations: 44 kB / 0.6253 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/1.893, allocations: 0.7796 MB / 0.6261 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/1.893, allocations: 7.984 kB / 0.6261 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/1.893, allocations: 20 kB / 0.6261 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/1.893, allocations: 39.91 kB / 0.6261 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/1.894, allocations: 0.5748 MB / 0.6267 GB, free: 4.918 MB / 0.4981 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.07913/1.973, allocations: 36.64 MB / 0.6625 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/1.975, allocations: 471.3 kB / 0.6629 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/1.975, allocations: 274.7 kB / 0.6632 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07891/2.054, allocations: 33.81 MB / 0.6962 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/2.054, allocations: 38.56 kB / 0.6962 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 2.385e-06/2.054, allocations: 3.938 kB / 0.6963 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126): time 0.01828/2.072, allocations: 3.246 MB / 0.6994 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/2.072, allocations: 63.34 kB / 0.6995 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/2.073, allocations: 332.4 kB / 0.6998 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/2.073, allocations: 41.7 kB / 0.6998 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/2.073, allocations: 225.7 kB / 0.7001 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/2.073, allocations: 424.1 kB / 0.7005 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/2.074, allocations: 138 kB / 0.7006 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001978/2.074, allocations: 370.8 kB / 0.7009 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/2.074, allocations: 277.6 kB / 0.7012 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/2.075, allocations: 393.2 kB / 0.7016 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/2.077, allocations: 0.7186 MB / 0.7023 GB, free: 320 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/2.077, allocations: 3.984 kB / 0.7023 GB, free: 316 kB / 0.5762 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004431/2.081, allocations: 1.232 MB / 0.7035 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/2.081, allocations: 4 kB / 0.7035 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-06/2.081, allocations: 8 kB / 0.7035 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/2.085, allocations: 1.383 MB / 0.7049 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/2.085, allocations: 23.98 kB / 0.7049 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/2.087, allocations: 1.378 MB / 0.7062 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/2.088, allocations: 99.16 kB / 0.7063 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/2.088, allocations: 20 kB / 0.7063 GB, free: 12.13 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002698/2.088, allocations: 186 kB / 0.7065 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/2.088, allocations: 59.58 kB / 0.7066 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/2.093, allocations: 3.826 MB / 0.7103 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002923/2.096, allocations: 1.232 MB / 0.7115 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/2.096, allocations: 0 / 0.7115 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/2.096, allocations: 11.97 kB / 0.7115 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007288/2.103, allocations: 2.833 MB / 0.7143 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/2.103, allocations: 4.125 kB / 0.7143 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/2.104, allocations: 95.84 kB / 0.7144 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/2.106, allocations: 0.8596 MB / 0.7152 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/2.106, allocations: 19.98 kB / 0.7152 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/2.108, allocations: 1.491 MB / 0.7167 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/2.108, allocations: 0 / 0.7167 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1931/2.302, allocations: 1.451 MB / 0.7181 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/2.302, allocations: 164.5 kB / 0.7183 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/2.302, allocations: 32.03 kB / 0.7183 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/2.302, allocations: 27.84 kB / 0.7183 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/2.302, allocations: 54.75 kB / 0.7184 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/2.302, allocations: 26.61 kB / 0.7184 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004244/2.303, allocations: 385.2 kB / 0.7188 GB, free: 220 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/2.303, allocations: 0 / 0.7188 GB, free: 220 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002841/2.306, allocations: 1.055 MB / 0.7198 GB, free: 220 MB / 0.5919 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003637/2.309, allocations: 1.206 MB / 0.721 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001857/2.311, allocations: 1.067 MB / 0.722 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/2.311, allocations: 0 / 0.722 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009116/2.312, allocations: 469.2 kB / 0.7225 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/2.314, allocations: 430.2 kB / 0.7229 GB, free: 219.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/2.316, allocations: 1.587 MB / 0.7244 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/2.317, allocations: 0.9955 MB / 0.7254 GB, free: 218.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002595/2.317, allocations: 72.25 kB / 0.7255 GB, free: 218.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/2.317, allocations: 43.34 kB / 0.7255 GB, free: 218.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.422e-06/2.317, allocations: 0 / 0.7255 GB, free: 218.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.05341/2.37, allocations: 50.4 MB / 0.7747 GB, free: 181.2 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.049779974855483]