Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.528/0.528, allocations: 111.6 MB / 132.2 MB, free: 4.965 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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 177.3 MB, free: 8.977 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.021e-05, allocations: 2.312 kB / 177.3 MB, free: 8.973 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.TestSimpleStaticCondenser): time 1.075/1.075, allocations: 258.6 MB / 435.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02136/1.097, allocations: 23.08 MB / 459 MB, free: 7.582 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003867/1.097, allocations: 4 kB / 459 MB, free: 7.578 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:31:3-32:81: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/SimpleStaticCondenser.mo:33:3-34: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/SimpleStaticCondenser.mo:35:3-36:77: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/SimpleStaticCondenser.mo:37:3-38:79: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.000467/1.098, allocations: 198.6 kB / 459.2 MB, free: 7.383 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/1.098, allocations: 337.6 kB / 459.5 MB, free: 7.051 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.01622/1.114, allocations: 7.492 MB / 467 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001012/1.115, allocations: 0.9211 MB / 467.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/1.116, allocations: 205.4 kB / 468.1 MB, free: 14.4 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006187/1.116, allocations: 0.5183 MB / 468.6 MB, free: 13.88 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/1.116, allocations: 191.4 kB / 468.8 MB, free: 13.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/1.117, allocations: 40 kB / 468.9 MB, free: 13.65 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2222/1.339, allocations: 15.11 MB / 484 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/1.339, allocations: 104.6 kB / 484.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003576/1.339, allocations: 211.8 kB / 484.3 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01499/1.354, allocations: 9.009 MB / 493.3 MB, free: 14.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.354, allocations: 0.625 kB / 493.3 MB, free: 14.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.262e-06/1.354, allocations: 0 / 493.3 MB, free: 14.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/1.354, allocations: 1.719 kB / 493.3 MB, free: 14.13 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.005016/1.359, allocations: 1.56 MB / 494.8 MB, free: 13.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.359, allocations: 13.7 kB / 494.9 MB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/1.359, allocations: 99.81 kB / 495 MB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/1.36, allocations: 272.1 kB / 495.2 MB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/1.36, allocations: 29.69 kB / 495.3 MB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/1.36, allocations: 40.75 kB / 495.3 MB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/1.36, allocations: 496.4 kB / 495.8 MB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.36, allocations: 4.5 kB / 495.8 MB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/1.36, allocations: 19.72 kB / 495.8 MB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/1.36, allocations: 41.55 kB / 495.8 MB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/1.36, allocations: 179.4 kB / 496 MB, free: 12.79 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.03255/1.393, allocations: 19.29 MB / 0.5032 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/1.393, allocations: 161.3 kB / 0.5034 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.262e-05/1.393, allocations: 88.41 kB / 0.5035 GB, free: 5.758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03723/1.431, allocations: 20.49 MB / 0.5235 GB, free: 1.336 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.431, allocations: 45.38 kB / 0.5235 GB, free: 1.281 MB / 442.7 MB Notification: Performance of pre-optimization done (n=124): time 3.116e-06/1.431, allocations: 0 / 0.5235 GB, free: 1.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.001438/1.432, allocations: 0.6711 MB / 0.5242 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/1.432, allocations: 55.95 kB / 0.5242 GB, free: 0.543 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/1.432, allocations: 298 kB / 0.5245 GB, free: 280 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/1.432, allocations: 33.7 kB / 0.5245 GB, free: 240 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/1.432, allocations: 278.1 kB / 0.5248 GB, free: 15.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/1.433, allocations: 426.4 kB / 0.5252 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/1.433, allocations: 145.8 kB / 0.5254 GB, free: 15.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/1.433, allocations: 0.5464 MB / 0.5259 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/1.433, allocations: 73.27 kB / 0.526 GB, free: 14.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/1.433, allocations: 221.7 kB / 0.5262 GB, free: 14.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/1.433, allocations: 369.1 kB / 0.5265 GB, free: 14.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.433, allocations: 4 kB / 0.5265 GB, free: 14.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0005316/1.434, allocations: 0.5123 MB / 0.527 GB, free: 13.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.434, allocations: 13 kB / 0.527 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.434, allocations: 3.984 kB / 0.527 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/1.435, allocations: 214 kB / 0.5272 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-05/1.435, allocations: 19.36 kB / 0.5273 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007438/1.435, allocations: 1.743 MB / 0.529 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/1.436, allocations: 67.3 kB / 0.529 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/1.436, allocations: 12 kB / 0.529 GB, free: 11.63 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 (simpleStaticCondenser.Ec.a,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Sc.b,sourceP.C.b,sourceP1.C.b,sinkP.C.a,sinkP1.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001244/1.436, allocations: 176.2 kB / 0.5292 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/1.436, allocations: 47.67 kB / 0.5293 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/1.439, allocations: 4.94 MB / 0.5341 GB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000443/1.44, allocations: 0.5196 MB / 0.5346 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.44, allocations: 0 / 0.5346 GB, free: 6.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.44, allocations: 3.984 kB / 0.5346 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/1.441, allocations: 1.604 MB / 0.5362 GB, free: 5.457 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.441, allocations: 0 / 0.5362 GB, free: 5.457 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/1.441, allocations: 91.34 kB / 0.5362 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/1.442, allocations: 166.4 kB / 0.5364 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/1.442, allocations: 12 kB / 0.5364 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006872/1.442, allocations: 1.748 MB / 0.5381 GB, free: 3.406 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.442, allocations: 0 / 0.5381 GB, free: 3.406 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006098/1.443, allocations: 0.7768 MB / 0.5389 GB, free: 2.633 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/1.443, allocations: 111.3 kB / 0.539 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/1.443, allocations: 35.72 kB / 0.539 GB, free: 2.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/1.443, allocations: 16 kB / 0.539 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/1.443, allocations: 40.56 kB / 0.5391 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/1.443, allocations: 12 kB / 0.5391 GB, free: 2.422 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004278/1.444, allocations: 315.1 kB / 0.5394 GB, free: 2.129 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/1.444, allocations: 4 kB / 0.5394 GB, free: 2.125 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003272/1.447, allocations: 1.017 MB / 0.5404 GB, free: 1.105 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00346/1.45, allocations: 1.337 MB / 0.5417 GB, free: 15.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007032/1.451, allocations: 0.7056 MB / 0.5424 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.451, allocations: 0 / 0.5424 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/1.451, allocations: 293.9 kB / 0.5427 GB, free: 14.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/1.452, allocations: 433.3 kB / 0.5431 GB, free: 14.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/1.454, allocations: 1.308 MB / 0.5443 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/1.454, allocations: 188.7 kB / 0.5445 GB, free: 13 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001969/1.454, allocations: 60.78 kB / 0.5446 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/1.455, allocations: 330 kB / 0.5449 GB, free: 12.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/1.455, allocations: 4 kB / 0.5449 GB, free: 12.62 MB / 474.7 MB Notification: Performance of Templates: time 0.05093/1.506, allocations: 51.68 MB / 0.5954 GB, free: 9.5 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.041692859027535]