Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.8685/0.8685, allocations: 120.4 MB / 139.5 MB, free: 480 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 217.2 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.938e-05, allocations: 7.625 kB / 217.2 MB, free: 13.78 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 1.551/1.551, allocations: 254.4 MB / 471.6 MB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4426/1.993, allocations: 167.5 MB / 0.6241 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/1.994, allocations: 11.94 kB / 0.6241 GB, free: 1.898 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:57:3-58:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:59:3-60:67:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004288/1.994, allocations: 207.1 kB / 0.6243 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005636/1.995, allocations: 291.2 kB / 0.6246 GB, free: 1.41 MB / 0.5606 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der 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/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.0337/2.028, allocations: 12.57 MB / 0.6369 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008828/2.029, allocations: 0.5651 MB / 0.6374 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/2.03, allocations: 245.2 kB / 0.6377 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/2.03, allocations: 363.1 kB / 0.638 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/2.031, allocations: 327.3 kB / 0.6383 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-05/2.031, allocations: 40 kB / 0.6384 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03775/2.068, allocations: 19.74 MB / 0.6576 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/2.069, allocations: 227.3 kB / 0.6578 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/2.069, allocations: 199.4 kB / 0.658 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02815/2.097, allocations: 13.42 MB / 0.6711 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/2.097, allocations: 0 / 0.6711 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/2.097, allocations: 0 / 0.6711 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.55e-05/2.097, allocations: 0 / 0.6711 GB, free: 1.664 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005465/2.103, allocations: 2.271 MB / 0.6734 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/2.103, allocations: 8.031 kB / 0.6734 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/2.103, allocations: 91.44 kB / 0.6735 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/2.104, allocations: 0.5214 MB / 0.674 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/2.104, allocations: 33 kB / 0.674 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/2.104, allocations: 40.8 kB / 0.674 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008231/2.105, allocations: 0.5262 MB / 0.6745 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/2.105, allocations: 4 kB / 0.6745 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/2.105, allocations: 20 kB / 0.6746 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/2.105, allocations: 8.562 kB / 0.6746 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006587/2.105, allocations: 420.7 kB / 0.675 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00847/2.114, allocations: 3.677 MB / 0.6786 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/2.114, allocations: 115.3 kB / 0.6787 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/2.115, allocations: 36.84 kB / 0.6787 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4743/2.589, allocations: 88.69 MB / 0.7653 GB, free: 251.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/2.589, allocations: 31.22 kB / 0.7654 GB, free: 251 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/2.589, allocations: 4 kB / 0.7654 GB, free: 251 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.002121/2.591, allocations: 405.5 kB / 0.7657 GB, free: 250.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/2.591, allocations: 106.8 kB / 0.7659 GB, free: 250.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/2.592, allocations: 1.088 MB / 0.7669 GB, free: 249.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/2.592, allocations: 26.47 kB / 0.7669 GB, free: 249.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/2.592, allocations: 388.1 kB / 0.7673 GB, free: 249.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/2.592, allocations: 44.06 kB / 0.7674 GB, free: 249.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/2.592, allocations: 81.59 kB / 0.7674 GB, free: 249 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.963e-05/2.592, allocations: 378.8 kB / 0.7678 GB, free: 248.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/2.593, allocations: 127.1 kB / 0.7679 GB, free: 248.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/2.593, allocations: 313.4 kB / 0.7682 GB, free: 248.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/2.593, allocations: 318.6 kB / 0.7685 GB, free: 247.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/2.593, allocations: 4.547 kB / 0.7685 GB, free: 247.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001213/2.594, allocations: 0.5592 MB / 0.7691 GB, free: 247.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/2.594, allocations: 11.94 kB / 0.7691 GB, free: 247.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/2.594, allocations: 4 kB / 0.7691 GB, free: 247.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/2.596, allocations: 187.4 kB / 0.7693 GB, free: 247 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/2.596, allocations: 52.56 kB / 0.7693 GB, free: 246.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004313/2.596, allocations: 0.6275 MB / 0.7699 GB, free: 246.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/2.597, allocations: 40.77 kB / 0.77 GB, free: 246.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/2.597, allocations: 20.06 kB / 0.77 GB, free: 246.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002138/2.597, allocations: 276.1 kB / 0.7702 GB, free: 246 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.301e-05/2.597, allocations: 67.53 kB / 0.7703 GB, free: 245.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/2.598, allocations: 267.2 kB / 0.7706 GB, free: 245.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/2.598, allocations: 0 / 0.7706 GB, free: 245.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/2.598, allocations: 0.6562 kB / 0.7706 GB, free: 245.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/2.598, allocations: 0 / 0.7706 GB, free: 245.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/2.599, allocations: 0.7321 MB / 0.7713 GB, free: 244.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/2.599, allocations: 4 kB / 0.7713 GB, free: 244.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/2.599, allocations: 3.938 kB / 0.7713 GB, free: 244.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/2.6, allocations: 160.9 kB / 0.7714 GB, free: 244.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/2.6, allocations: 4 kB / 0.7714 GB, free: 244.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004056/2.601, allocations: 0.6327 MB / 0.7721 GB, free: 244 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/2.601, allocations: 0 / 0.7721 GB, free: 244 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/2.602, allocations: 413.9 kB / 0.7725 GB, free: 243.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/2.602, allocations: 96.11 kB / 0.7725 GB, free: 243.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/2.602, allocations: 11.92 kB / 0.7726 GB, free: 243.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/2.602, allocations: 5.516 kB / 0.7726 GB, free: 243.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/2.602, allocations: 11.98 kB / 0.7726 GB, free: 243.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/2.602, allocations: 7.984 kB / 0.7726 GB, free: 243.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006405/2.603, allocations: 0.7802 MB / 0.7733 GB, free: 242.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/2.603, allocations: 4.656 kB / 0.7733 GB, free: 242.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003449/2.606, allocations: 1.677 MB / 0.775 GB, free: 241.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006201/2.613, allocations: 2.73 MB / 0.7777 GB, free: 239.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005605/2.613, allocations: 237.2 kB / 0.7779 GB, free: 238.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.613, allocations: 4.125 kB / 0.7779 GB, free: 238.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/2.613, allocations: 47.97 kB / 0.7779 GB, free: 238.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000592/2.614, allocations: 86.42 kB / 0.778 GB, free: 238.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/2.615, allocations: 1.096 MB / 0.7791 GB, free: 237.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/2.615, allocations: 349 kB / 0.7794 GB, free: 237.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001468/2.616, allocations: 71.62 kB / 0.7795 GB, free: 237.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/2.616, allocations: 36.5 kB / 0.7795 GB, free: 237.1 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/2.616, allocations: 0 / 0.7795 GB, free: 237.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.05418/2.67, allocations: 51.38 MB / 0.8297 GB, free: 186 MB / 0.6544 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.052225545048714] Failed to read output from testmodel.py, exit status != 0: 2.800148691982031 2.809585699 0.709982844 Calling exit ...