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.512/0.512, allocations: 111.6 MB / 131.2 MB, free: 5.043 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.483e-06/1.483e-06, allocations: 0 / 176.2 MB, free: 9.195 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.816e-05, allocations: 5.125 kB / 176.2 MB, free: 9.191 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.074/1.074, allocations: 258.6 MB / 434.8 MB, free: 14.57 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.0213/1.095, allocations: 23.43 MB / 458.2 MB, free: 7.055 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/1.095, allocations: 4 kB / 458.2 MB, free: 7.051 MB / 410.8 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.0004349/1.096, allocations: 206.6 kB / 458.4 MB, free: 6.848 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/1.096, allocations: 333.7 kB / 458.7 MB, free: 6.52 MB / 410.8 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.01296/1.109, allocations: 7.499 MB / 466.2 MB, free: 14.99 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007626/1.11, allocations: 0.9172 MB / 467.2 MB, free: 14.07 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/1.11, allocations: 205.4 kB / 467.4 MB, free: 13.86 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/1.111, allocations: 0.5299 MB / 467.9 MB, free: 13.33 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/1.111, allocations: 183.5 kB / 468.1 MB, free: 13.15 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/1.111, allocations: 40 kB / 468.1 MB, free: 13.11 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01636/1.127, allocations: 15.12 MB / 483.2 MB, free: 13.97 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/1.127, allocations: 99.55 kB / 483.3 MB, free: 13.87 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/1.127, allocations: 207.5 kB / 483.5 MB, free: 13.67 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/1.139, allocations: 9.015 MB / 492.5 MB, free: 4.629 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.139, allocations: 0 / 492.5 MB, free: 4.629 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.793e-06/1.139, allocations: 0 / 492.5 MB, free: 4.629 MB / 442.8 MB Notification: Performance of Transformations before backend: time 9.337e-06/1.139, allocations: 0 / 492.5 MB, free: 4.629 MB / 442.8 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.002555/1.142, allocations: 1.559 MB / 494.1 MB, free: 3.027 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.142, allocations: 11.98 kB / 494.1 MB, free: 3.016 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/1.142, allocations: 104.4 kB / 494.2 MB, free: 2.914 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/1.142, allocations: 263.5 kB / 494.5 MB, free: 2.629 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/1.142, allocations: 33.38 kB / 494.5 MB, free: 2.598 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/1.142, allocations: 36.38 kB / 494.5 MB, free: 2.562 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/1.143, allocations: 0.5194 MB / 495.1 MB, free: 1.977 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/1.143, allocations: 8.125 kB / 495.1 MB, free: 1.969 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/1.143, allocations: 23.94 kB / 495.1 MB, free: 1.945 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/1.143, allocations: 35.95 kB / 495.1 MB, free: 1.91 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/1.143, allocations: 226.3 kB / 495.4 MB, free: 1.684 MB / 442.8 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.1993/1.342, allocations: 22.2 MB / 0.5054 GB, free: 26.07 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/1.343, allocations: 183.3 kB / 0.5056 GB, free: 26.03 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/1.343, allocations: 108.5 kB / 0.5057 GB, free: 26.01 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03527/1.378, allocations: 23.96 MB / 0.5291 GB, free: 5.043 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.378, allocations: 42.09 kB / 0.5291 GB, free: 4.992 MB / 442.8 MB Notification: Performance of pre-optimization done (n=124): time 2.545e-06/1.378, allocations: 0 / 0.5291 GB, free: 4.992 MB / 442.8 MB Notification: Performance of matching and sorting (n=124): time 0.00117/1.379, allocations: 0.7464 MB / 0.5299 GB, free: 4.32 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/1.379, allocations: 55.59 kB / 0.5299 GB, free: 4.254 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/1.38, allocations: 294.3 kB / 0.5302 GB, free: 3.988 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/1.38, allocations: 32.86 kB / 0.5302 GB, free: 3.957 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/1.38, allocations: 287.5 kB / 0.5305 GB, free: 3.723 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.38, allocations: 427.7 kB / 0.5309 GB, free: 3.375 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/1.38, allocations: 132.1 kB / 0.531 GB, free: 3.277 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/1.38, allocations: 0.5442 MB / 0.5316 GB, free: 2.75 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/1.38, allocations: 96.78 kB / 0.5317 GB, free: 2.66 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/1.38, allocations: 241.4 kB / 0.5319 GB, free: 2.422 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/1.381, allocations: 414 kB / 0.5323 GB, free: 2.047 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.381, allocations: 0 / 0.5323 GB, free: 2.047 MB / 442.8 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0005342/1.381, allocations: 0.5576 MB / 0.5328 GB, free: 1.547 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.381, allocations: 11.94 kB / 0.5328 GB, free: 1.535 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.381, allocations: 4 kB / 0.5328 GB, free: 1.531 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/1.382, allocations: 216.6 kB / 0.5331 GB, free: 1.332 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.37e-05/1.382, allocations: 15.98 kB / 0.5331 GB, free: 1.316 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006424/1.383, allocations: 1.745 MB / 0.5348 GB, free: 15.55 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/1.383, allocations: 72.03 kB / 0.5348 GB, free: 15.49 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/1.383, allocations: 15.98 kB / 0.5349 GB, free: 15.48 MB / 458.8 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.0001483/1.383, allocations: 174.9 kB / 0.535 GB, free: 15.31 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/1.383, allocations: 54.88 kB / 0.5351 GB, free: 15.26 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003542/1.387, allocations: 4.744 MB / 0.5397 GB, free: 11.27 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005749/1.387, allocations: 0.5901 MB / 0.5403 GB, free: 10.68 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.387, allocations: 0 / 0.5403 GB, free: 10.68 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.387, allocations: 6.719 kB / 0.5403 GB, free: 10.67 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/1.389, allocations: 1.746 MB / 0.542 GB, free: 8.93 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.389, allocations: 0 / 0.542 GB, free: 8.93 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/1.389, allocations: 95 kB / 0.5421 GB, free: 8.844 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003396/1.389, allocations: 171.2 kB / 0.5423 GB, free: 8.668 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/1.389, allocations: 16 kB / 0.5423 GB, free: 8.652 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00073/1.39, allocations: 1.766 MB / 0.544 GB, free: 6.836 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.39, allocations: 0 / 0.544 GB, free: 6.836 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/1.391, allocations: 0.8312 MB / 0.5448 GB, free: 5.977 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/1.391, allocations: 111.2 kB / 0.5449 GB, free: 5.867 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/1.391, allocations: 31.78 kB / 0.5449 GB, free: 5.836 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/1.391, allocations: 19.19 kB / 0.545 GB, free: 5.82 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/1.391, allocations: 44.56 kB / 0.545 GB, free: 5.777 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/1.391, allocations: 16 kB / 0.545 GB, free: 5.762 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0002472/1.391, allocations: 343 kB / 0.5453 GB, free: 5.43 MB / 458.8 MB Notification: Performance of sort global known variables: time 7e-08/1.391, allocations: 0 / 0.5453 GB, free: 5.43 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.002428/1.394, allocations: 1.014 MB / 0.5463 GB, free: 4.414 MB / 458.8 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.00282/1.397, allocations: 1.302 MB / 0.5476 GB, free: 3.25 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0007408/1.397, allocations: 0.7727 MB / 0.5484 GB, free: 2.445 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.397, allocations: 0 / 0.5484 GB, free: 2.445 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/1.398, allocations: 305.7 kB / 0.5487 GB, free: 2.16 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/1.399, allocations: 429.7 kB / 0.5491 GB, free: 1.762 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.4, allocations: 1.33 MB / 0.5504 GB, free: 424 kB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/1.4, allocations: 184.7 kB / 0.5505 GB, free: 216 kB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001713/1.401, allocations: 65.72 kB / 0.5506 GB, free: 156 kB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/1.401, allocations: 44.5 kB / 0.5506 GB, free: 112 kB / 458.8 MB Notification: Performance of SimCode: time 5.61e-07/1.401, allocations: 0 / 0.5506 GB, free: 112 kB / 458.8 MB Notification: Performance of Templates: time 0.04787/1.449, allocations: 53.02 MB / 0.6024 GB, free: 11.6 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.705932120792568]