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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7764/0.7764, allocations: 152.6 MB / 169.6 MB, free: 14.93 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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.0004677/0.0004677, allocations: 16.02 kB / 245.6 MB, free: 15.6 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05141/0.05188, allocations: 33.07 MB / 278.7 MB, free: 0.5938 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.524/1.576, allocations: 302.8 MB / 0.5678 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02859/1.605, allocations: 24.11 MB / 0.5914 GB, free: 8.816 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/1.605, allocations: 4 kB / 0.5914 GB, free: 8.812 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0005248/1.605, allocations: 243.3 kB / 0.5916 GB, free: 8.578 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004871/1.606, allocations: 317.9 kB / 0.5919 GB, free: 8.266 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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.01578/1.622, allocations: 7.512 MB / 0.5992 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009873/1.623, allocations: 0.8749 MB / 0.6001 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/1.623, allocations: 196.2 kB / 0.6003 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/1.623, allocations: 342.6 kB / 0.6006 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/1.623, allocations: 266.6 kB / 0.6009 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/1.624, allocations: 36 kB / 0.6009 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02425/1.648, allocations: 16.09 MB / 0.6166 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/1.648, allocations: 107.5 kB / 0.6167 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004165/1.648, allocations: 330.2 kB / 0.617 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/1.66, allocations: 7.093 MB / 0.624 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.66, allocations: 0 / 0.624 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.66, allocations: 0 / 0.624 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.255e-06/1.66, allocations: 0 / 0.624 GB, free: 7.387 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.003362/1.664, allocations: 1.523 MB / 0.6254 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/1.664, allocations: 19.97 kB / 0.6255 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/1.664, allocations: 68.47 kB / 0.6255 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/1.664, allocations: 331 kB / 0.6258 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/1.664, allocations: 33.31 kB / 0.6259 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/1.664, allocations: 44.31 kB / 0.6259 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/1.665, allocations: 0.6853 MB / 0.6266 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/1.665, allocations: 4 kB / 0.6266 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/1.665, allocations: 16 kB / 0.6266 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/1.665, allocations: 35.95 kB / 0.6266 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006053/1.666, allocations: 455.6 kB / 0.6271 GB, free: 4.055 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.07407/1.74, allocations: 36.38 MB / 0.6626 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/1.741, allocations: 283.5 kB / 0.6629 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/1.741, allocations: 218.8 kB / 0.6631 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0827/1.824, allocations: 36.62 MB / 0.6988 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/1.824, allocations: 38.56 kB / 0.6989 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=124): time 1.944e-06/1.824, allocations: 0 / 0.6989 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124): time 0.002267/1.826, allocations: 1.188 MB / 0.7 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/1.826, allocations: 55.41 kB / 0.7001 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/1.826, allocations: 320.5 kB / 0.7004 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/1.826, allocations: 33.7 kB / 0.7004 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/1.826, allocations: 221.7 kB / 0.7006 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/1.827, allocations: 416.2 kB / 0.701 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/1.827, allocations: 117.6 kB / 0.7012 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.827, allocations: 370.8 kB / 0.7015 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/1.827, allocations: 213.2 kB / 0.7017 GB, free: 472 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/1.828, allocations: 327.7 kB / 0.702 GB, free: 112 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/1.829, allocations: 0.6175 MB / 0.7026 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.829, allocations: 4 kB / 0.7026 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001109/1.83, allocations: 0.765 MB / 0.7034 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.83, allocations: 10.5 kB / 0.7034 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.83, allocations: 4 kB / 0.7034 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/1.831, allocations: 337.6 kB / 0.7037 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/1.831, allocations: 23.92 kB / 0.7037 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/1.833, allocations: 1.284 MB / 0.705 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/1.833, allocations: 75.3 kB / 0.7051 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/1.833, allocations: 16.03 kB / 0.7051 GB, free: 12.89 MB / 0.5919 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.000209/1.833, allocations: 173.8 kB / 0.7052 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/1.833, allocations: 63.52 kB / 0.7053 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/1.837, allocations: 3.996 MB / 0.7092 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001103/1.838, allocations: 0.7962 MB / 0.71 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.838, allocations: 7.938 kB / 0.71 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/1.838, allocations: 7.922 kB / 0.71 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/1.841, allocations: 2.132 MB / 0.7121 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.841, allocations: 0 / 0.7121 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/1.841, allocations: 91.91 kB / 0.7122 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007518/1.842, allocations: 245 kB / 0.7124 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/1.842, allocations: 16.12 kB / 0.7124 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/1.843, allocations: 1.331 MB / 0.7137 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.843, allocations: 4.031 kB / 0.7137 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/1.844, allocations: 0.9589 MB / 0.7147 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/1.844, allocations: 192.3 kB / 0.7148 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/1.845, allocations: 35.73 kB / 0.7149 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/1.845, allocations: 12 kB / 0.7149 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/1.845, allocations: 48.59 kB / 0.7149 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/1.845, allocations: 16 kB / 0.7149 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004797/1.845, allocations: 434.7 kB / 0.7154 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/1.845, allocations: 0 / 0.7154 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002344/1.848, allocations: 0.9943 MB / 0.7163 GB, free: 0.9922 MB / 0.5919 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.148/1.996, allocations: 1.162 MB / 0.7175 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001162/1.997, allocations: 0.9285 MB / 0.7184 GB, free: 219.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.997, allocations: 6.781 kB / 0.7184 GB, free: 219.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004594/1.997, allocations: 352.1 kB / 0.7187 GB, free: 219.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/1.999, allocations: 434.5 kB / 0.7191 GB, free: 219.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/2.001, allocations: 1.493 MB / 0.7206 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/2.001, allocations: 0.9887 MB / 0.7216 GB, free: 218.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/2.001, allocations: 52.12 kB / 0.7216 GB, free: 218.5 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/2.001, allocations: 0 / 0.7216 GB, free: 218.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.02825/2.029, allocations: 31.92 MB / 0.7528 GB, free: 202.6 MB / 0.5919 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.476991635980085] Failed to read output from testmodel.py, exit status != 0: 2.135168976848945 2.142830647 0.480543778 Calling exit ...