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.5389/0.5389, 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.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.525e-06/2.525e-06, allocations: 0 / 176.5 MB, free: 9.402 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.9e-05, allocations: 9.047 kB / 176.5 MB, free: 9.395 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.087/1.087, allocations: 258.5 MB / 435 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.021/1.108, allocations: 23.37 MB / 458.4 MB, free: 7.094 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/1.108, allocations: 4 kB / 458.4 MB, free: 7.09 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.0004308/1.108, allocations: 194.7 kB / 458.6 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004524/1.109, allocations: 337.7 kB / 458.9 MB, free: 6.566 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.01447/1.123, allocations: 7.495 MB / 466.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001086/1.124, allocations: 0.9133 MB / 467.3 MB, free: 14.12 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/1.125, allocations: 205.4 kB / 467.5 MB, free: 13.92 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006793/1.125, allocations: 0.5221 MB / 468.1 MB, free: 13.39 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/1.126, allocations: 195.4 kB / 468.2 MB, free: 13.2 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/1.126, allocations: 40 kB / 468.3 MB, free: 13.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02229/1.148, allocations: 15.12 MB / 483.4 MB, free: 14.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/1.148, allocations: 103.5 kB / 483.5 MB, free: 13.92 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003625/1.148, allocations: 207.5 kB / 483.7 MB, free: 13.72 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/1.164, allocations: 9.015 MB / 492.7 MB, free: 4.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.164, allocations: 0 / 492.7 MB, free: 4.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.164, allocations: 0 / 492.7 MB, free: 4.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/1.164, allocations: 0 / 492.7 MB, free: 4.68 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.002865/1.167, allocations: 1.551 MB / 494.3 MB, free: 3.086 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.167, allocations: 11.98 kB / 494.3 MB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/1.168, allocations: 108.4 kB / 494.4 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/1.168, allocations: 259.5 kB / 494.7 MB, free: 2.688 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/1.168, allocations: 29.38 kB / 494.7 MB, free: 2.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/1.168, allocations: 40.38 kB / 494.7 MB, free: 2.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/1.168, allocations: 0.5233 MB / 495.2 MB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.168, allocations: 4.125 kB / 495.2 MB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/1.168, allocations: 19.94 kB / 495.3 MB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/1.168, allocations: 35.97 kB / 495.3 MB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/1.169, allocations: 230.4 kB / 495.5 MB, free: 1.742 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.1623/1.331, allocations: 22.22 MB / 0.5056 GB, free: 92.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/1.331, allocations: 172.7 kB / 0.5058 GB, free: 92.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/1.332, allocations: 113.4 kB / 0.5059 GB, free: 92.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03834/1.37, allocations: 23.95 MB / 0.5293 GB, free: 68.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.37, allocations: 40.02 kB / 0.5293 GB, free: 68.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=124): time 2.495e-06/1.37, allocations: 0 / 0.5293 GB, free: 68.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.001188/1.371, allocations: 0.7466 MB / 0.53 GB, free: 67.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/1.371, allocations: 55.41 kB / 0.5301 GB, free: 67.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/1.371, allocations: 295.1 kB / 0.5304 GB, free: 67.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/1.371, allocations: 29.7 kB / 0.5304 GB, free: 67.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/1.371, allocations: 275.3 kB / 0.5307 GB, free: 67.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/1.372, allocations: 433.1 kB / 0.5311 GB, free: 66.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/1.372, allocations: 131.3 kB / 0.5312 GB, free: 66.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.61e-05/1.372, allocations: 0.5391 MB / 0.5317 GB, free: 66.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/1.372, allocations: 97.28 kB / 0.5318 GB, free: 65.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/1.372, allocations: 247.9 kB / 0.5321 GB, free: 65.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/1.372, allocations: 412.8 kB / 0.5325 GB, free: 65.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.372, allocations: 4 kB / 0.5325 GB, free: 65.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0005271/1.373, allocations: 0.5654 MB / 0.533 GB, free: 64.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.373, allocations: 4 kB / 0.533 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.373, allocations: 4 kB / 0.533 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/1.374, allocations: 275.3 kB / 0.5333 GB, free: 64.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.191e-05/1.374, allocations: 12 kB / 0.5333 GB, free: 64.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005253/1.374, allocations: 1.754 MB / 0.535 GB, free: 62.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/1.374, allocations: 67.36 kB / 0.5351 GB, free: 62.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/1.374, allocations: 12 kB / 0.5351 GB, free: 62.45 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.0001153/1.374, allocations: 186.5 kB / 0.5353 GB, free: 62.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/1.374, allocations: 47.62 kB / 0.5353 GB, free: 62.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/1.377, allocations: 4.749 MB / 0.5399 GB, free: 57.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004732/1.377, allocations: 0.5947 MB / 0.5405 GB, free: 56.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.377, allocations: 0 / 0.5405 GB, free: 56.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.377, allocations: 3.984 kB / 0.5405 GB, free: 56.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/1.379, allocations: 1.75 MB / 0.5422 GB, free: 54.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.379, allocations: 0 / 0.5422 GB, free: 54.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/1.379, allocations: 92.53 kB / 0.5423 GB, free: 54.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/1.379, allocations: 195.6 kB / 0.5425 GB, free: 54.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/1.379, allocations: 12 kB / 0.5425 GB, free: 54.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004353/1.38, allocations: 1.765 MB / 0.5442 GB, free: 52.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.38, allocations: 0.9375 kB / 0.5442 GB, free: 52.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/1.38, allocations: 0.8291 MB / 0.5451 GB, free: 51.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/1.381, allocations: 107.3 kB / 0.5452 GB, free: 51.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/1.381, allocations: 31.78 kB / 0.5452 GB, free: 51.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/1.381, allocations: 12 kB / 0.5452 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/1.381, allocations: 44.56 kB / 0.5452 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/1.381, allocations: 23.94 kB / 0.5453 GB, free: 51.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002002/1.381, allocations: 343 kB / 0.5456 GB, free: 51.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/1.381, allocations: 0 / 0.5456 GB, free: 51.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001747/1.383, allocations: 1.025 MB / 0.5466 GB, free: 50.25 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.002805/1.386, allocations: 1.291 MB / 0.5479 GB, free: 49.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000742/1.386, allocations: 0.7666 MB / 0.5486 GB, free: 48.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.386, allocations: 3.938 kB / 0.5486 GB, free: 48.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/1.387, allocations: 310.4 kB / 0.5489 GB, free: 47.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/1.388, allocations: 432.7 kB / 0.5493 GB, free: 47.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/1.389, allocations: 1.324 MB / 0.5506 GB, free: 46.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.268e-05/1.389, allocations: 180.7 kB / 0.5508 GB, free: 46.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002022/1.39, allocations: 64.64 kB / 0.5508 GB, free: 45.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/1.39, allocations: 48.44 kB / 0.5509 GB, free: 45.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/1.39, allocations: 0 / 0.5509 GB, free: 45.93 MB / 442.7 MB Notification: Performance of Templates: time 0.03641/1.426, allocations: 44.83 MB / 0.5947 GB, free: 1.57 MB / 442.7 MB " [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: 5.269646108150482]