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.5005/0.5005, allocations: 111.6 MB / 131.5 MB, free: 4.918 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.415e-06/2.415e-06, allocations: 0 / 176.6 MB, free: 8.906 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.683e-05, allocations: 5.047 kB / 176.6 MB, free: 8.902 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.113/1.113, allocations: 264.4 MB / 441 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02036/1.133, allocations: 23.39 MB / 464.4 MB, free: 6.109 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/1.133, allocations: 4 kB / 464.4 MB, free: 6.105 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.0004045/1.134, allocations: 202.6 kB / 464.6 MB, free: 5.906 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003872/1.134, allocations: 337.7 kB / 464.9 MB, free: 5.574 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.01268/1.147, allocations: 7.534 MB / 472.5 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006787/1.147, allocations: 0.9289 MB / 473.4 MB, free: 13.08 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/1.148, allocations: 202.1 kB / 473.6 MB, free: 12.88 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/1.148, allocations: 0.522 MB / 474.1 MB, free: 12.35 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/1.148, allocations: 191.5 kB / 474.3 MB, free: 12.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/1.148, allocations: 40 kB / 474.3 MB, free: 12.12 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1926/1.341, allocations: 15.11 MB / 489.4 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/1.341, allocations: 100.1 kB / 489.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003391/1.341, allocations: 208.9 kB / 489.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/1.354, allocations: 9.02 MB / 498.8 MB, free: 13.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.354, allocations: 0 / 498.8 MB, free: 13.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.363e-06/1.354, allocations: 0.5312 kB / 498.8 MB, free: 13.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/1.354, allocations: 0.7812 kB / 498.8 MB, free: 13.54 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.004386/1.358, allocations: 1.411 MB / 0.4884 GB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/1.358, allocations: 13.27 kB / 0.4885 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.854e-05/1.358, allocations: 69.08 kB / 0.4885 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/1.358, allocations: 231.3 kB / 0.4887 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/1.358, allocations: 32.03 kB / 0.4888 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/1.358, allocations: 38.31 kB / 0.4888 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/1.359, allocations: 473 kB / 0.4893 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.359, allocations: 384 / 0.4893 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/1.359, allocations: 24.31 kB / 0.4893 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/1.359, allocations: 36.38 kB / 0.4893 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/1.359, allocations: 182.6 kB / 0.4895 GB, free: 12.43 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.02478/1.384, allocations: 18.33 MB / 0.5074 GB, free: 4.625 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/1.384, allocations: 184.6 kB / 0.5076 GB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/1.384, allocations: 78.92 kB / 0.5077 GB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03317/1.417, allocations: 21.09 MB / 0.5283 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/1.417, allocations: 31.12 kB / 0.5283 GB, free: 15.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=124): time 2.304e-06/1.417, allocations: 0 / 0.5283 GB, free: 15.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=124): time 0.0009069/1.418, allocations: 0.5726 MB / 0.5288 GB, free: 14.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/1.418, allocations: 59.41 kB / 0.5289 GB, free: 14.65 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/1.418, allocations: 233.4 kB / 0.5291 GB, free: 14.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.418, allocations: 25.7 kB / 0.5291 GB, free: 14.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/1.418, allocations: 224.4 kB / 0.5294 GB, free: 14.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/1.419, allocations: 417.5 kB / 0.5298 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/1.419, allocations: 111.2 kB / 0.5299 GB, free: 13.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.688e-05/1.419, allocations: 369 kB / 0.5302 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/1.419, allocations: 76.78 kB / 0.5303 GB, free: 13.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/1.419, allocations: 177.2 kB / 0.5305 GB, free: 13.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/1.419, allocations: 336.9 kB / 0.5308 GB, free: 12.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.419, allocations: 0 / 0.5308 GB, free: 12.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0003698/1.42, allocations: 409.6 kB / 0.5312 GB, free: 12.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.42, allocations: 9.094 kB / 0.5312 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.42, allocations: 5.203 kB / 0.5312 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/1.42, allocations: 203 kB / 0.5314 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.757e-05/1.42, allocations: 19.98 kB / 0.5314 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004994/1.421, allocations: 1.163 MB / 0.5325 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/1.421, allocations: 67.98 kB / 0.5326 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/1.421, allocations: 8 kB / 0.5326 GB, free: 10.92 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.000102/1.421, allocations: 129.2 kB / 0.5327 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/1.421, allocations: 23.97 kB / 0.5327 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/1.423, allocations: 3.853 MB / 0.5365 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003223/1.423, allocations: 445.4 kB / 0.5369 GB, free: 7.562 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/1.423, allocations: 0 / 0.5369 GB, free: 7.562 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/1.423, allocations: 5.625 kB / 0.5369 GB, free: 7.559 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.425, allocations: 1.37 MB / 0.5383 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.425, allocations: 0 / 0.5383 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/1.425, allocations: 94.86 kB / 0.5384 GB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/1.425, allocations: 165.4 kB / 0.5385 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/1.425, allocations: 8 kB / 0.5385 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004663/1.425, allocations: 1.192 MB / 0.5397 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/1.426, allocations: 0 / 0.5397 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/1.426, allocations: 0.6626 MB / 0.5403 GB, free: 4.133 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/1.426, allocations: 75.41 kB / 0.5404 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/1.426, allocations: 35.73 kB / 0.5405 GB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/1.426, allocations: 16 kB / 0.5405 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/1.426, allocations: 47.69 kB / 0.5405 GB, free: 3.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/1.426, allocations: 12 kB / 0.5405 GB, free: 3.953 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001145/1.426, allocations: 177 kB / 0.5407 GB, free: 3.793 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.426, allocations: 1.422 kB / 0.5407 GB, free: 3.793 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002594/1.429, allocations: 1.021 MB / 0.5417 GB, free: 2.77 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.002478/1.431, allocations: 1.373 MB / 0.543 GB, free: 1.535 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005478/1.432, allocations: 0.6793 MB / 0.5437 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.432, allocations: 4 kB / 0.5437 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/1.432, allocations: 262.8 kB / 0.544 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008586/1.433, allocations: 416.7 kB / 0.5443 GB, free: 232 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/1.434, allocations: 1.319 MB / 0.5456 GB, free: 14.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/1.435, allocations: 186.5 kB / 0.5458 GB, free: 14.71 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001765/1.435, allocations: 64.34 kB / 0.5459 GB, free: 14.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/1.435, allocations: 265.1 kB / 0.5461 GB, free: 14.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/1.435, allocations: 4 kB / 0.5461 GB, free: 14.38 MB / 474.7 MB Notification: Performance of Templates: time 0.04749/1.483, allocations: 50.59 MB / 0.5955 GB, free: 12.33 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: 5.233859202358872]