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.8437/0.8437, allocations: 120.4 MB / 140.1 MB, free: 40 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005522/0.0005522, allocations: 15.97 kB / 217.7 MB, free: 12.96 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05723/0.05779, allocations: 33.37 MB / 251.1 MB, free: 11.54 MB / 238.1 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.739/1.796, allocations: 255.4 MB / 0.4946 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03124/1.828, allocations: 21.57 MB / 0.5157 GB, free: 8.332 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/1.828, allocations: 4 kB / 0.5157 GB, free: 8.328 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44: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:61:3-63:42: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:64:3-66:36: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:67:3-69:37: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:30:3-31:45: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:33:3-34:47: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.0005732/1.829, allocations: 200.7 kB / 0.5159 GB, free: 8.137 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/1.829, allocations: 328.5 kB / 0.5162 GB, free: 7.816 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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.01916/1.848, allocations: 7.422 MB / 0.5234 GB, free: 424 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001221/1.85, allocations: 0.8861 MB / 0.5243 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003089/1.85, allocations: 193.3 kB / 0.5245 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005124/1.85, allocations: 370.5 kB / 0.5248 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/1.851, allocations: 238.6 kB / 0.5251 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/1.851, allocations: 40 kB / 0.5251 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02724/1.878, allocations: 15.1 MB / 0.5398 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/1.878, allocations: 103.5 kB / 0.5399 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004165/1.879, allocations: 259.5 kB / 0.5402 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01488/1.893, allocations: 7.112 MB / 0.5471 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.894, allocations: 4.5 kB / 0.5471 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.031e-06/1.894, allocations: 0 / 0.5471 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.894, allocations: 0.9688 kB / 0.5471 GB, free: 8.109 MB / 0.4981 GB 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.003804/1.897, allocations: 1.444 MB / 0.5485 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.897, allocations: 8.031 kB / 0.5485 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/1.897, allocations: 76.42 kB / 0.5486 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/1.898, allocations: 258.6 kB / 0.5489 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/1.898, allocations: 29.38 kB / 0.5489 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.607e-05/1.898, allocations: 44.31 kB / 0.5489 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/1.899, allocations: 0.7048 MB / 0.5496 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/1.899, allocations: 0 / 0.5496 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/1.899, allocations: 16 kB / 0.5496 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/1.899, allocations: 35.91 kB / 0.5497 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/1.9, allocations: 471.7 kB / 0.5501 GB, free: 4.93 MB / 0.4981 GB 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.07628/1.976, allocations: 21.64 MB / 0.5713 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/1.977, allocations: 300.4 kB / 0.5715 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/1.977, allocations: 218.8 kB / 0.5718 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08924/2.066, allocations: 23.84 MB / 0.595 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/2.066, allocations: 38.5 kB / 0.5951 GB, free: 6.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.064e-06/2.066, allocations: 0 / 0.5951 GB, free: 6.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002442/2.069, allocations: 1.049 MB / 0.5961 GB, free: 5.699 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/2.069, allocations: 55.41 kB / 0.5961 GB, free: 5.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/2.069, allocations: 241.6 kB / 0.5964 GB, free: 5.391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/2.069, allocations: 37.7 kB / 0.5964 GB, free: 5.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/2.069, allocations: 221.8 kB / 0.5966 GB, free: 5.125 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/2.07, allocations: 424.1 kB / 0.597 GB, free: 4.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/2.07, allocations: 113.7 kB / 0.5971 GB, free: 4.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001873/2.07, allocations: 358.8 kB / 0.5975 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/2.07, allocations: 233.2 kB / 0.5977 GB, free: 4.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/2.071, allocations: 328.6 kB / 0.598 GB, free: 3.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/2.072, allocations: 0.637 MB / 0.5986 GB, free: 2.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/2.072, allocations: 0 / 0.5986 GB, free: 2.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001185/2.073, allocations: 0.7572 MB / 0.5994 GB, free: 2.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/2.073, allocations: 14.44 kB / 0.5994 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/2.073, allocations: 0 / 0.5994 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/2.075, allocations: 349.2 kB / 0.5997 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/2.075, allocations: 12 kB / 0.5997 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/2.076, allocations: 1.297 MB / 0.601 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/2.076, allocations: 67.34 kB / 0.6011 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/2.076, allocations: 12 kB / 0.6011 GB, free: 444 kB / 0.545 GB 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.0002255/2.076, allocations: 173.8 kB / 0.6012 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/2.077, allocations: 51.56 kB / 0.6013 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004273/2.081, allocations: 4.05 MB / 0.6052 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001222/2.082, allocations: 0.8118 MB / 0.606 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/2.082, allocations: 0 / 0.606 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/2.082, allocations: 3.984 kB / 0.606 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/2.085, allocations: 1.92 MB / 0.6079 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/2.085, allocations: 128 / 0.6079 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/2.085, allocations: 103.8 kB / 0.608 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008334/2.086, allocations: 249.4 kB / 0.6083 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/2.086, allocations: 15.98 kB / 0.6083 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/2.087, allocations: 1.335 MB / 0.6096 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/2.087, allocations: 0 / 0.6096 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/2.089, allocations: 0.9706 MB / 0.6105 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/2.089, allocations: 107.3 kB / 0.6106 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/2.089, allocations: 31.83 kB / 0.6107 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/2.089, allocations: 16 kB / 0.6107 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/2.089, allocations: 40.58 kB / 0.6107 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/2.09, allocations: 19.98 kB / 0.6107 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004499/2.09, allocations: 351.1 kB / 0.6111 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/2.09, allocations: 0 / 0.6111 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002625/2.093, allocations: 1.021 MB / 0.6121 GB, free: 4.855 MB / 0.5606 GB 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.004039/2.097, allocations: 1.177 MB / 0.6132 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001466/2.098, allocations: 0.9402 MB / 0.6141 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/2.098, allocations: 0 / 0.6141 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/2.099, allocations: 360.2 kB / 0.6145 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/2.101, allocations: 408.2 kB / 0.6149 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/2.103, allocations: 1.43 MB / 0.6163 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/2.103, allocations: 400 kB / 0.6166 GB, free: 72 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000226/2.104, allocations: 67.3 kB / 0.6167 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.481e-05/2.104, allocations: 44.55 kB / 0.6167 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/2.104, allocations: 0 / 0.6167 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.06772/2.171, allocations: 44.02 MB / 0.6597 GB, free: 4.309 MB / 0.6075 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=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.619896019925363] Failed to read output from testmodel.py, exit status != 0: 2.468262325040996 2.477028421 0.5812272700000001 Calling exit ...