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.8642/0.8642, allocations: 120.4 MB / 139.5 MB, free: 476 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 1.553e-06/1.553e-06, allocations: 0 / 217.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.075e-05, allocations: 6.219 kB / 217.2 MB, free: 13.73 MB / 206.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.526/1.526, allocations: 255.6 MB / 472.9 MB, free: 9.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2446/1.771, allocations: 21.58 MB / 494.5 MB, free: 14.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004148/1.771, allocations: 5.719 kB / 494.5 MB, free: 14.02 MB / 446.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.0005634/1.772, allocations: 192.6 kB / 494.6 MB, free: 13.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006967/1.772, allocations: 338.9 kB / 495 MB, free: 13.69 MB / 446.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.02247/1.795, allocations: 7.472 MB / 0.4907 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/1.796, allocations: 0.9181 MB / 0.4916 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003237/1.796, allocations: 188.2 kB / 0.4917 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007109/1.797, allocations: 0.5243 MB / 0.4923 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/1.797, allocations: 195.6 kB / 0.4924 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/1.797, allocations: 37.41 kB / 0.4925 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02849/1.826, allocations: 15.12 MB / 0.5072 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/1.826, allocations: 99.48 kB / 0.5073 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004763/1.827, allocations: 208.1 kB / 0.5075 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01817/1.845, allocations: 9.219 MB / 0.5165 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/1.845, allocations: 0 / 0.5165 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/1.845, allocations: 0 / 0.5165 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/1.845, allocations: 0 / 0.5165 GB, free: 0.7734 MB / 462.1 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.003826/1.849, allocations: 1.435 MB / 0.5179 GB, free: 15.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/1.849, allocations: 8.781 kB / 0.518 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/1.849, allocations: 69.66 kB / 0.518 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/1.849, allocations: 264.8 kB / 0.5183 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/1.849, allocations: 33.38 kB / 0.5183 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/1.849, allocations: 37.97 kB / 0.5183 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/1.85, allocations: 0.7054 MB / 0.519 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/1.85, allocations: 1.219 kB / 0.519 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/1.85, allocations: 19.94 kB / 0.519 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/1.85, allocations: 37.38 kB / 0.5191 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/1.851, allocations: 472.3 kB / 0.5195 GB, free: 13.61 MB / 478.1 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.07582/1.927, allocations: 21.64 MB / 0.5407 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/1.928, allocations: 287.6 kB / 0.5409 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/1.928, allocations: 218.8 kB / 0.5411 GB, free: 7.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08858/2.016, allocations: 23.84 MB / 0.5644 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/2.016, allocations: 35.88 kB / 0.5645 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=124): time 2.705e-06/2.016, allocations: 0 / 0.5645 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124): time 0.002514/2.019, allocations: 1.055 MB / 0.5655 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/2.019, allocations: 63.33 kB / 0.5656 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/2.019, allocations: 241.6 kB / 0.5658 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/2.019, allocations: 25.7 kB / 0.5658 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/2.02, allocations: 234.3 kB / 0.566 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/2.02, allocations: 412.2 kB / 0.5664 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/2.02, allocations: 117.6 kB / 0.5665 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001812/2.02, allocations: 358.8 kB / 0.5669 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/2.021, allocations: 225.2 kB / 0.5671 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/2.021, allocations: 336.5 kB / 0.5674 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/2.022, allocations: 0.6323 MB / 0.568 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/2.022, allocations: 0 / 0.568 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001262/2.023, allocations: 0.7651 MB / 0.5688 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/2.023, allocations: 4 kB / 0.5688 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/2.023, allocations: 5 kB / 0.5688 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/2.025, allocations: 344.4 kB / 0.5691 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/2.025, allocations: 19.94 kB / 0.5691 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/2.026, allocations: 1.29 MB / 0.5704 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/2.027, allocations: 63.36 kB / 0.5705 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/2.027, allocations: 16 kB / 0.5705 GB, free: 9.277 MB / 0.5137 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.000231/2.027, allocations: 173.8 kB / 0.5706 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/2.027, allocations: 43.67 kB / 0.5707 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004223/2.031, allocations: 4.058 MB / 0.5746 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001268/2.033, allocations: 0.8157 MB / 0.5754 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/2.033, allocations: 0.625 kB / 0.5754 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/2.033, allocations: 3.984 kB / 0.5754 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/2.036, allocations: 1.914 MB / 0.5773 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/2.036, allocations: 1 kB / 0.5773 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/2.036, allocations: 92.59 kB / 0.5774 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008687/2.037, allocations: 243.2 kB / 0.5776 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/2.037, allocations: 16 kB / 0.5777 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/2.038, allocations: 1.346 MB / 0.579 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/2.038, allocations: 0 / 0.579 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/2.04, allocations: 0.959 MB / 0.5799 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/2.04, allocations: 119.8 kB / 0.58 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.321e-05/2.04, allocations: 31.78 kB / 0.58 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/2.04, allocations: 18.55 kB / 0.5801 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/2.04, allocations: 47.16 kB / 0.5801 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/2.04, allocations: 24.55 kB / 0.5801 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004891/2.041, allocations: 351.1 kB / 0.5805 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/2.041, allocations: 4 kB / 0.5805 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002892/2.044, allocations: 1.017 MB / 0.5815 GB, free: 13.71 MB / 0.5294 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.004817/2.048, allocations: 1.291 MB / 0.5827 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001436/2.05, allocations: 0.9374 MB / 0.5836 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/2.05, allocations: 0 / 0.5836 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006275/2.051, allocations: 368.2 kB / 0.584 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/2.053, allocations: 406.5 kB / 0.5844 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/2.055, allocations: 1.405 MB / 0.5858 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/2.055, allocations: 400 kB / 0.5861 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000237/2.056, allocations: 69.47 kB / 0.5862 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/2.056, allocations: 44.5 kB / 0.5862 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/2.056, allocations: 0 / 0.5862 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of Templates: time 0.06765/2.123, allocations: 44 MB / 0.6292 GB, free: 13.28 MB / 0.5762 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: 8.55774461850524] Failed to read output from testmodel.py, exit status != 0: 2.2942308969795704 2.527182883 0.680018081 Calling exit ...