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.5176/0.5176, allocations: 111.6 MB / 132.2 MB, free: 4.395 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 1.653e-06/1.653e-06, allocations: 0 / 177.3 MB, free: 8.922 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.769e-05, allocations: 2.312 kB / 177.3 MB, free: 8.918 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.05/1.05, allocations: 258.6 MB / 435.9 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02047/1.07, allocations: 22.08 MB / 458 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/1.071, allocations: 4 kB / 458 MB, free: 8.613 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.0004458/1.071, allocations: 170.8 kB / 458.1 MB, free: 8.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004944/1.072, allocations: 333.7 kB / 458.5 MB, free: 8.117 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.01579/1.087, allocations: 7.286 MB / 465.7 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009753/1.088, allocations: 1.015 MB / 466.8 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/1.089, allocations: 249.4 kB / 467 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006864/1.089, allocations: 0.5729 MB / 467.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/1.09, allocations: 251.3 kB / 467.8 MB, free: 14.71 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/1.09, allocations: 48 kB / 467.9 MB, free: 14.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02061/1.11, allocations: 14.47 MB / 482.3 MB, free: 172 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/1.111, allocations: 131.4 kB / 482.5 MB, free: 40 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1928/1.303, allocations: 234 kB / 482.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/1.317, allocations: 8.796 MB / 491.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.317, allocations: 0 / 491.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.317, allocations: 1.75 kB / 491.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/1.317, allocations: 1.188 kB / 491.5 MB, free: 14.95 MB / 426.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.004768/1.322, allocations: 1.599 MB / 493.1 MB, free: 14.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/1.322, allocations: 13.58 kB / 493.1 MB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/1.322, allocations: 121.9 kB / 493.2 MB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/1.323, allocations: 275.7 kB / 493.5 MB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/1.323, allocations: 202.5 kB / 493.7 MB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/1.323, allocations: 49.78 kB / 493.7 MB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/1.323, allocations: 0.5677 MB / 494.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.323, allocations: 1.469 kB / 494.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/1.323, allocations: 20.91 kB / 494.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/1.323, allocations: 36.12 kB / 494.4 MB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/1.324, allocations: 242.2 kB / 494.6 MB, free: 13.42 MB / 426.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.03129/1.355, allocations: 19.44 MB / 0.502 GB, free: 7.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/1.355, allocations: 284.7 kB / 0.5023 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/1.355, allocations: 128.4 kB / 0.5024 GB, free: 7.176 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03046/1.386, allocations: 18.3 MB / 0.5203 GB, free: 5.164 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/1.386, allocations: 41.23 kB / 0.5203 GB, free: 5.117 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 1.994e-06/1.386, allocations: 0 / 0.5203 GB, free: 5.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.007137/1.393, allocations: 2.446 MB / 0.5227 GB, free: 2.691 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/1.393, allocations: 55.41 kB / 0.5227 GB, free: 2.625 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/1.393, allocations: 304.3 kB / 0.523 GB, free: 2.344 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/1.393, allocations: 29.7 kB / 0.5231 GB, free: 2.309 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.393, allocations: 289.5 kB / 0.5233 GB, free: 2.031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/1.394, allocations: 434.9 kB / 0.5237 GB, free: 1.629 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/1.394, allocations: 159.3 kB / 0.5239 GB, free: 1.492 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/1.394, allocations: 0.5478 MB / 0.5244 GB, free: 0.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/1.394, allocations: 105.8 kB / 0.5245 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/1.394, allocations: 265.4 kB / 0.5248 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/1.395, allocations: 433.2 kB / 0.5252 GB, free: 156 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.395, allocations: 0 / 0.5252 GB, free: 156 kB / 442.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001558/1.396, allocations: 0.8357 MB / 0.526 GB, free: 15.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.396, allocations: 8 kB / 0.526 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.396, allocations: 0 / 0.526 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/1.398, allocations: 1.254 MB / 0.5272 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/1.398, allocations: 27.62 kB / 0.5273 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008686/1.399, allocations: 1.291 MB / 0.5285 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/1.399, allocations: 76.02 kB / 0.5286 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/1.399, allocations: 20.55 kB / 0.5286 GB, free: 12.69 MB / 458.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 (plateHeatExchanger.Ec.a,plateHeatExchanger.Ef.a,plateHeatExchanger.Sf.b,plateHeatExchanger.Sc.b,sourceP2.C.b,sourceP3.C.b,puitsP2.C.a,puitsP3.C.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.0001305/1.399, allocations: 184.3 kB / 0.5288 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/1.399, allocations: 63.56 kB / 0.5289 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/1.402, allocations: 4.219 MB / 0.533 GB, free: 9.102 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007882/1.402, allocations: 0.7554 MB / 0.5337 GB, free: 8.352 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/1.402, allocations: 1.969 kB / 0.5337 GB, free: 8.352 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/1.402, allocations: 7.969 kB / 0.5337 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/1.405, allocations: 2.048 MB / 0.5357 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.405, allocations: 4 kB / 0.5357 GB, free: 6.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/1.405, allocations: 87.34 kB / 0.5358 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009302/1.406, allocations: 0.7008 MB / 0.5365 GB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/1.406, allocations: 16 kB / 0.5365 GB, free: 5.617 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008786/1.407, allocations: 1.307 MB / 0.5378 GB, free: 4.309 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.407, allocations: 1.188 kB / 0.5378 GB, free: 4.309 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/1.409, allocations: 1.09 MB / 0.5389 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/1.409, allocations: 83.23 kB / 0.5389 GB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/1.409, allocations: 31.84 kB / 0.539 GB, free: 3.121 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/1.409, allocations: 12 kB / 0.539 GB, free: 3.109 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/1.409, allocations: 68.72 kB / 0.539 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/1.409, allocations: 19.98 kB / 0.5391 GB, free: 3.027 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001522/1.409, allocations: 295.2 kB / 0.5393 GB, free: 2.754 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/1.409, allocations: 1.641 kB / 0.5393 GB, free: 2.754 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003045/1.412, allocations: 1.072 MB / 0.5404 GB, free: 1.68 MB / 458.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.002663/1.415, allocations: 1.376 MB / 0.5417 GB, free: 444 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007525/1.416, allocations: 0.7842 MB / 0.5425 GB, free: 15.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.416, allocations: 0 / 0.5425 GB, free: 15.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003375/1.416, allocations: 343.8 kB / 0.5428 GB, free: 15.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/1.417, allocations: 430.3 kB / 0.5432 GB, free: 14.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.419, allocations: 1.398 MB / 0.5446 GB, free: 13.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/1.419, allocations: 188.9 kB / 0.5448 GB, free: 13.31 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001747/1.419, allocations: 54.58 kB / 0.5448 GB, free: 13.26 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/1.42, allocations: 302 kB / 0.5451 GB, free: 12.96 MB / 474.7 MB Notification: Performance of SimCode: time 6.72e-07/1.42, allocations: 0 / 0.5451 GB, free: 12.96 MB / 474.7 MB Notification: Performance of Templates: time 0.0506/1.47, allocations: 54.6 MB / 0.5984 GB, free: 6.914 MB / 0.5105 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.987743920180947]