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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.484/0.484, allocations: 111.6 MB / 131.7 MB, free: 5.055 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 2.184e-06/2.184e-06, allocations: 3.984 kB / 176.5 MB, free: 9.41 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.483e-05, allocations: 5.047 kB / 176.5 MB, free: 9.406 MB / 170.7 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.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 1.013/1.013, allocations: 258.5 MB / 435 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02382/1.037, allocations: 22.32 MB / 457.3 MB, free: 8.137 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/1.037, allocations: 4 kB / 457.3 MB, free: 8.133 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:54:3-55:80: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 master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:56:3-57:80: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 master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:58:3-59:78: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 master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:60:3-61:77: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 master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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 master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80: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.0003849/1.038, allocations: 174.8 kB / 457.5 MB, free: 7.961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/1.038, allocations: 337.6 kB / 457.8 MB, free: 7.629 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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.01278/1.051, allocations: 7.304 MB / 465.2 MB, free: 312 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007946/1.052, allocations: 1.019 MB / 466.2 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/1.052, allocations: 249.4 kB / 466.4 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/1.052, allocations: 0.5728 MB / 467 MB, free: 14.45 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/1.053, allocations: 239.3 kB / 467.2 MB, free: 14.22 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/1.053, allocations: 52 kB / 467.3 MB, free: 14.17 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01474/1.067, allocations: 14.47 MB / 481.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/1.067, allocations: 135.4 kB / 481.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/1.068, allocations: 239.4 kB / 482.1 MB, free: 15.31 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007814/1.075, allocations: 8.789 MB / 490.9 MB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.075, allocations: 4 kB / 490.9 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/1.075, allocations: 0 / 490.9 MB, free: 6.496 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/1.075, allocations: 0 / 490.9 MB, free: 6.496 MB / 442.7 MB 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.002067/1.078, allocations: 1.598 MB / 492.5 MB, free: 4.852 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/1.078, allocations: 15.98 kB / 492.5 MB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/1.078, allocations: 116.5 kB / 492.6 MB, free: 4.723 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/1.078, allocations: 287.4 kB / 492.9 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/1.078, allocations: 207.7 kB / 493.1 MB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/1.078, allocations: 47.94 kB / 493.2 MB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/1.079, allocations: 0.6054 MB / 493.8 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.079, allocations: 0 / 493.8 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/1.079, allocations: 20 kB / 493.8 MB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/1.079, allocations: 43.95 kB / 493.8 MB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/1.079, allocations: 303.7 kB / 494.1 MB, free: 3.098 MB / 442.7 MB 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.1515/1.231, allocations: 22.35 MB / 0.5044 GB, free: 93.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/1.231, allocations: 323.7 kB / 0.5047 GB, free: 93.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/1.231, allocations: 153.6 kB / 0.5048 GB, free: 93.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03296/1.264, allocations: 21.26 MB / 0.5256 GB, free: 71.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/1.264, allocations: 38.59 kB / 0.5256 GB, free: 71.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 2.545e-06/1.264, allocations: 0 / 0.5256 GB, free: 71.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.007283/1.272, allocations: 2.549 MB / 0.5281 GB, free: 69.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/1.272, allocations: 55.41 kB / 0.5282 GB, free: 69.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/1.272, allocations: 296 kB / 0.5284 GB, free: 69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/1.272, allocations: 29.7 kB / 0.5285 GB, free: 68.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/1.272, allocations: 294.9 kB / 0.5288 GB, free: 68.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/1.272, allocations: 433.4 kB / 0.5292 GB, free: 68.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.272, allocations: 155.7 kB / 0.5293 GB, free: 68.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.899e-05/1.272, allocations: 0.5391 MB / 0.5298 GB, free: 67.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.272, allocations: 137.8 kB / 0.53 GB, free: 67.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/1.273, allocations: 292.7 kB / 0.5303 GB, free: 67.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/1.273, allocations: 487.4 kB / 0.5307 GB, free: 66.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.273, allocations: 0 / 0.5307 GB, free: 66.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00195/1.275, allocations: 0.9286 MB / 0.5316 GB, free: 65.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.275, allocations: 4 kB / 0.5316 GB, free: 65.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.275, allocations: 4 kB / 0.5316 GB, free: 65.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/1.277, allocations: 1.272 MB / 0.5329 GB, free: 64.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/1.277, allocations: 27.92 kB / 0.5329 GB, free: 64.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/1.278, allocations: 1.356 MB / 0.5342 GB, free: 62.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/1.279, allocations: 75.34 kB / 0.5343 GB, free: 62.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/1.279, allocations: 23.94 kB / 0.5343 GB, free: 62.84 MB / 442.7 MB 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.0001297/1.279, allocations: 185.5 kB / 0.5345 GB, free: 62.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/1.279, allocations: 67.61 kB / 0.5346 GB, free: 62.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/1.282, allocations: 4.107 MB / 0.5386 GB, free: 58.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001244/1.283, allocations: 0.852 MB / 0.5394 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.283, allocations: 0 / 0.5394 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/1.283, allocations: 4.688 kB / 0.5394 GB, free: 57.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003619/1.287, allocations: 2.23 MB / 0.5416 GB, free: 55.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.287, allocations: 0 / 0.5416 GB, free: 55.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/1.287, allocations: 101 kB / 0.5417 GB, free: 55.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/1.288, allocations: 0.722 MB / 0.5424 GB, free: 54.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/1.288, allocations: 15.98 kB / 0.5424 GB, free: 54.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009395/1.289, allocations: 1.361 MB / 0.5437 GB, free: 52.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.289, allocations: 0 / 0.5437 GB, free: 52.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/1.292, allocations: 1.187 MB / 0.5449 GB, free: 51.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/1.292, allocations: 79.31 kB / 0.545 GB, free: 51.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/1.292, allocations: 23.84 kB / 0.545 GB, free: 51.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/1.292, allocations: 24.67 kB / 0.545 GB, free: 51.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.651e-05/1.292, allocations: 60.88 kB / 0.5451 GB, free: 51.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/1.292, allocations: 28 kB / 0.5451 GB, free: 51.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002209/1.292, allocations: 323 kB / 0.5454 GB, free: 51.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/1.292, allocations: 0 / 0.5454 GB, free: 51.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001885/1.294, allocations: 1.076 MB / 0.5465 GB, free: 50.13 MB / 442.7 MB 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.002914/1.297, allocations: 1.335 MB / 0.5478 GB, free: 48.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009875/1.298, allocations: 0.85 MB / 0.5486 GB, free: 48.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.298, allocations: 4.188 kB / 0.5486 GB, free: 48.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/1.299, allocations: 383.8 kB / 0.549 GB, free: 47.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.3, allocations: 426.1 kB / 0.5494 GB, free: 47.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/1.302, allocations: 1.429 MB / 0.5508 GB, free: 45.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/1.302, allocations: 188.9 kB / 0.5509 GB, free: 45.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001811/1.302, allocations: 61.81 kB / 0.551 GB, free: 45.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/1.302, allocations: 36.5 kB / 0.551 GB, free: 45.51 MB / 442.7 MB Notification: Performance of SimCode: time 7.91e-07/1.302, allocations: 4 kB / 0.551 GB, free: 45.51 MB / 442.7 MB Notification: Performance of Templates: time 0.03768/1.34, allocations: 47.52 MB / 0.5974 GB, free: 14.42 MB / 458.7 MB " [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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.129211685154587]