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.8963/0.8963, allocations: 153.8 MB / 172.7 MB, free: 4.828 MB / 142.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.0005573/0.0005573, allocations: 15.97 kB / 250.3 MB, free: 3.855 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.164, allocations: 33.35 MB / 283.7 MB, free: 2.039 MB / 222.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.881/2.045, allocations: 308.9 MB / 0.5787 GB, free: 17.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02418/2.069, allocations: 21.58 MB / 0.5998 GB, free: 7.918 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004649/2.07, allocations: 4.875 kB / 0.5998 GB, free: 7.918 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.0005561/2.07, allocations: 194.5 kB / 0.6 GB, free: 7.828 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006632/2.071, allocations: 322.2 kB / 0.6003 GB, free: 7.609 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.01825/2.089, allocations: 7.432 MB / 0.6075 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/2.09, allocations: 0.8835 MB / 0.6084 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/2.09, allocations: 189.9 kB / 0.6086 GB, free: 3.535 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/2.091, allocations: 368 kB / 0.6089 GB, free: 3.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/2.091, allocations: 238.5 kB / 0.6091 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/2.091, allocations: 39.12 kB / 0.6092 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02748/2.119, allocations: 15.11 MB / 0.6239 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/2.119, allocations: 95.58 kB / 0.624 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004443/2.119, allocations: 263.3 kB / 0.6243 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/2.133, allocations: 7.113 MB / 0.6312 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/2.133, allocations: 3.984 kB / 0.6312 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/2.133, allocations: 0 / 0.6312 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.546e-05/2.133, allocations: 0 / 0.6312 GB, free: 14.26 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.0038/2.137, allocations: 1.443 MB / 0.6326 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/2.137, allocations: 11.97 kB / 0.6326 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/2.137, allocations: 68.47 kB / 0.6327 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/2.137, allocations: 266 kB / 0.633 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/2.137, allocations: 34.83 kB / 0.633 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/2.137, allocations: 36.38 kB / 0.633 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/2.138, allocations: 0.705 MB / 0.6337 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/2.138, allocations: 0 / 0.6337 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/2.138, allocations: 16.56 kB / 0.6337 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/2.138, allocations: 39.95 kB / 0.6338 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/2.139, allocations: 463.6 kB / 0.6342 GB, free: 11.09 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.07707/2.216, allocations: 21.64 MB / 0.6553 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/2.217, allocations: 292.6 kB / 0.6556 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/2.217, allocations: 227.8 kB / 0.6558 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09062/2.308, allocations: 23.84 MB / 0.6791 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/2.308, allocations: 42.5 kB / 0.6792 GB, free: 12.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.395e-06/2.308, allocations: 0 / 0.6792 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.00246/2.31, allocations: 1.057 MB / 0.6802 GB, free: 11.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/2.31, allocations: 51.41 kB / 0.6802 GB, free: 11.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/2.311, allocations: 244.8 kB / 0.6805 GB, free: 11.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/2.311, allocations: 29.7 kB / 0.6805 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/2.311, allocations: 221.7 kB / 0.6807 GB, free: 11.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/2.311, allocations: 428.1 kB / 0.6811 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/2.311, allocations: 113.6 kB / 0.6812 GB, free: 10.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001852/2.312, allocations: 363.9 kB / 0.6816 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/2.312, allocations: 221.2 kB / 0.6818 GB, free: 10.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/2.312, allocations: 336.5 kB / 0.6821 GB, free: 9.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/2.313, allocations: 0.6292 MB / 0.6827 GB, free: 9.219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/2.313, allocations: 0 / 0.6827 GB, free: 9.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001252/2.315, allocations: 0.7697 MB / 0.6835 GB, free: 8.438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/2.315, allocations: 4 kB / 0.6835 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/2.315, allocations: 4 kB / 0.6835 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/2.316, allocations: 333.6 kB / 0.6838 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/2.316, allocations: 23.92 kB / 0.6838 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/2.318, allocations: 1.282 MB / 0.6851 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/2.318, allocations: 69.03 kB / 0.6851 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/2.318, allocations: 20.03 kB / 0.6852 GB, free: 6.656 MB / 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.0002388/2.318, allocations: 178.5 kB / 0.6853 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/2.318, allocations: 51.56 kB / 0.6854 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/2.323, allocations: 4.041 MB / 0.6893 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001243/2.324, allocations: 0.8118 MB / 0.6901 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/2.324, allocations: 0 / 0.6901 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/2.324, allocations: 11.92 kB / 0.6901 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/2.327, allocations: 1.907 MB / 0.692 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/2.327, allocations: 3.938 kB / 0.692 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/2.327, allocations: 100.4 kB / 0.6921 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008077/2.328, allocations: 251.9 kB / 0.6923 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/2.328, allocations: 15.94 kB / 0.6924 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/2.329, allocations: 1.347 MB / 0.6937 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.329, allocations: 2.859 kB / 0.6937 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/2.331, allocations: 0.9589 MB / 0.6946 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/2.331, allocations: 105.2 kB / 0.6947 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.09e-05/2.331, allocations: 35.78 kB / 0.6947 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/2.331, allocations: 12 kB / 0.6948 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/2.332, allocations: 52.5 kB / 0.6948 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/2.332, allocations: 16 kB / 0.6948 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004577/2.332, allocations: 355.1 kB / 0.6952 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/2.332, allocations: 4 kB / 0.6952 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002555/2.335, allocations: 1.018 MB / 0.6962 GB, free: 11.09 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.003986/2.339, allocations: 1.166 MB / 0.6973 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001458/2.34, allocations: 0.9455 MB / 0.6982 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/2.34, allocations: 0 / 0.6982 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/2.341, allocations: 352.2 kB / 0.6986 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/2.343, allocations: 409.5 kB / 0.6989 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/2.345, allocations: 1.448 MB / 0.7004 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/2.345, allocations: 396 kB / 0.7007 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002733/2.346, allocations: 63.41 kB / 0.7008 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/2.346, allocations: 51.42 kB / 0.7008 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/2.346, allocations: 0 / 0.7008 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of Templates: time 0.06995/2.416, allocations: 45.27 MB / 0.745 GB, free: 9.832 MB / 0.6075 GB " [Timeout remaining time 657] 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: 8.853921480476856] Failed to read output from testmodel.py, exit status != 0: 2.577914323657751 2.798974126 0.663567566 Calling exit ...