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.8301/0.8301, allocations: 111.6 MB / 131 MB, free: 5.078 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 2.244e-06/2.244e-06, allocations: 0 / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.302e-05, allocations: 6.25 kB / 175.7 MB, free: 9.445 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.716/1.716, allocations: 256.2 MB / 432 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0368/1.753, allocations: 23.34 MB / 455.3 MB, free: 7.609 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003339/1.753, allocations: 4 kB / 455.3 MB, free: 7.605 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.0005671/1.754, allocations: 194.7 kB / 455.5 MB, free: 7.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006315/1.755, allocations: 329.7 kB / 455.8 MB, free: 7.09 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.02023/1.775, allocations: 7.506 MB / 463.3 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001414/1.776, allocations: 0.9133 MB / 464.2 MB, free: 14.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/1.777, allocations: 205.4 kB / 464.4 MB, free: 14.44 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007521/1.777, allocations: 0.5182 MB / 465 MB, free: 13.92 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/1.778, allocations: 195.4 kB / 465.2 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/1.778, allocations: 36 kB / 465.2 MB, free: 13.69 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02884/1.807, allocations: 15.12 MB / 480.3 MB, free: 14.55 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/1.807, allocations: 103.5 kB / 480.4 MB, free: 14.45 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/1.807, allocations: 211.5 kB / 480.6 MB, free: 14.25 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01882/1.826, allocations: 9.225 MB / 489.8 MB, free: 4.996 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.826, allocations: 4 kB / 489.8 MB, free: 4.992 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.913e-06/1.826, allocations: 0 / 489.8 MB, free: 4.992 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/1.826, allocations: 0 / 489.8 MB, free: 4.992 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.00399/1.83, allocations: 1.579 MB / 491.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.83, allocations: 15.98 kB / 491.4 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/1.83, allocations: 100.5 kB / 491.5 MB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/1.831, allocations: 271.5 kB / 491.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/1.831, allocations: 29.38 kB / 491.8 MB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/1.831, allocations: 44.38 kB / 491.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000974/1.832, allocations: 0.5969 MB / 492.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/1.832, allocations: 4.125 kB / 492.5 MB, free: 2.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/1.832, allocations: 23.94 kB / 492.5 MB, free: 2.207 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-05/1.832, allocations: 35.91 kB / 492.5 MB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005562/1.833, allocations: 299.7 kB / 492.8 MB, free: 1.875 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.241/2.074, allocations: 22.36 MB / 0.5031 GB, free: 92.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/2.074, allocations: 228.7 kB / 0.5033 GB, free: 92.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/2.074, allocations: 151.6 kB / 0.5035 GB, free: 92.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07892/2.153, allocations: 23.95 MB / 0.5269 GB, free: 68.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/2.153, allocations: 37.39 kB / 0.5269 GB, free: 68.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=124): time 2.404e-06/2.153, allocations: 1.312 kB / 0.5269 GB, free: 68.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.001875/2.155, allocations: 0.8799 MB / 0.5278 GB, free: 67.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/2.155, allocations: 51.41 kB / 0.5278 GB, free: 67.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/2.156, allocations: 340.2 kB / 0.5281 GB, free: 67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/2.156, allocations: 25.7 kB / 0.5282 GB, free: 66.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/2.156, allocations: 282.8 kB / 0.5284 GB, free: 66.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/2.156, allocations: 446.7 kB / 0.5289 GB, free: 66.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/2.156, allocations: 167.2 kB / 0.529 GB, free: 66.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/2.156, allocations: 0.5626 MB / 0.5296 GB, free: 65.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/2.156, allocations: 137.3 kB / 0.5297 GB, free: 65.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/2.157, allocations: 300.6 kB / 0.53 GB, free: 65.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000508/2.157, allocations: 0.5431 MB / 0.5305 GB, free: 64.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/2.157, allocations: 0.6562 kB / 0.5305 GB, free: 64.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0008109/2.158, allocations: 0.6601 MB / 0.5312 GB, free: 63.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/2.158, allocations: 4 kB / 0.5312 GB, free: 63.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/2.158, allocations: 7.984 kB / 0.5312 GB, free: 63.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/2.159, allocations: 299.3 kB / 0.5315 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/2.159, allocations: 15.98 kB / 0.5315 GB, free: 63.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008181/2.16, allocations: 1.844 MB / 0.5333 GB, free: 61.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/2.16, allocations: 67.3 kB / 0.5333 GB, free: 61.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/2.16, allocations: 19.98 kB / 0.5334 GB, free: 61.48 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 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.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.0001701/2.161, allocations: 225.9 kB / 0.5336 GB, free: 61.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/2.161, allocations: 51.67 kB / 0.5336 GB, free: 61.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/2.164, allocations: 5.553 MB / 0.539 GB, free: 55.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007926/2.165, allocations: 0.6973 MB / 0.5397 GB, free: 54.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/2.165, allocations: 0 / 0.5397 GB, free: 54.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/2.165, allocations: 3.984 kB / 0.5397 GB, free: 54.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/2.167, allocations: 2.03 MB / 0.5417 GB, free: 52.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/2.167, allocations: 0 / 0.5417 GB, free: 52.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/2.167, allocations: 91.91 kB / 0.5418 GB, free: 52.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005729/2.168, allocations: 207.2 kB / 0.542 GB, free: 52.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/2.168, allocations: 16 kB / 0.542 GB, free: 52.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000711/2.169, allocations: 1.82 MB / 0.5438 GB, free: 50.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/2.169, allocations: 32 / 0.5438 GB, free: 50.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009585/2.17, allocations: 0.9453 MB / 0.5447 GB, free: 49.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/2.17, allocations: 103.3 kB / 0.5448 GB, free: 49.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/2.17, allocations: 39.73 kB / 0.5448 GB, free: 49.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/2.17, allocations: 8 kB / 0.5449 GB, free: 49.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/2.17, allocations: 48.56 kB / 0.5449 GB, free: 49.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/2.17, allocations: 23.94 kB / 0.5449 GB, free: 49.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003341/2.17, allocations: 411 kB / 0.5453 GB, free: 48.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/2.17, allocations: 0 / 0.5453 GB, free: 48.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002176/2.173, allocations: 1.029 MB / 0.5463 GB, free: 47.8 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 (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.003281/2.176, allocations: 1.292 MB / 0.5476 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/2.177, allocations: 0.8784 MB / 0.5484 GB, free: 45.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/2.177, allocations: 0 / 0.5484 GB, free: 45.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004592/2.177, allocations: 370.1 kB / 0.5488 GB, free: 45.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/2.179, allocations: 431.3 kB / 0.5492 GB, free: 44.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/2.181, allocations: 1.383 MB / 0.5506 GB, free: 43.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/2.181, allocations: 396 kB / 0.5509 GB, free: 43.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002031/2.181, allocations: 58.2 kB / 0.551 GB, free: 43.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/2.181, allocations: 44.5 kB / 0.551 GB, free: 43.07 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/2.181, allocations: 4 kB / 0.551 GB, free: 43.06 MB / 442.7 MB Notification: Performance of Templates: time 0.04823/2.23, allocations: 44.83 MB / 0.5948 GB, free: 14.71 MB / 458.7 MB " [Timeout remaining time 657] 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: 8.658005885896273]