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.8699/0.8699, allocations: 120.4 MB / 140.1 MB, free: 44 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 0.0005876/0.0005876, allocations: 11.97 kB / 217.7 MB, free: 13.05 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06042/0.06101, allocations: 33.36 MB / 251 MB, free: 11.62 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 1.776/1.837, allocations: 254.1 MB / 0.4933 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.231/2.068, allocations: 167.5 MB / 0.6569 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/2.068, allocations: 11.94 kB / 0.6569 GB, free: 6.945 MB / 0.6075 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.0004121/2.069, allocations: 203.1 kB / 0.6571 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004854/2.069, allocations: 286.7 kB / 0.6574 GB, free: 6.465 MB / 0.6075 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.03232/2.102, allocations: 12.43 MB / 0.6695 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008296/2.102, allocations: 0.5457 MB / 0.67 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/2.103, allocations: 245 kB / 0.6703 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004142/2.103, allocations: 267.1 kB / 0.6705 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/2.104, allocations: 362.7 kB / 0.6709 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.026e-05/2.104, allocations: 44 kB / 0.6709 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3404/2.444, allocations: 19.68 MB / 0.6901 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/2.444, allocations: 213.6 kB / 0.6903 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002566/2.445, allocations: 260.8 kB / 0.6906 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02235/2.467, allocations: 10.81 MB / 0.7011 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/2.467, allocations: 0 / 0.7011 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.974e-06/2.467, allocations: 0 / 0.7011 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.306e-05/2.467, allocations: 0 / 0.7011 GB, free: 13.12 MB / 0.6231 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.005658/2.473, allocations: 2.285 MB / 0.7034 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/2.473, allocations: 7.25 kB / 0.7034 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/2.473, allocations: 94.12 kB / 0.7035 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/2.473, allocations: 0.5181 MB / 0.704 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/2.473, allocations: 36.34 kB / 0.704 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/2.474, allocations: 38 kB / 0.704 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/2.474, allocations: 0.5306 MB / 0.7046 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/2.474, allocations: 0 / 0.7046 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/2.474, allocations: 17.81 kB / 0.7046 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/2.474, allocations: 13.44 kB / 0.7046 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/2.475, allocations: 412.2 kB / 0.705 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007612/2.482, allocations: 3.683 MB / 0.7086 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/2.483, allocations: 113.9 kB / 0.7087 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.37e-05/2.483, allocations: 43.27 kB / 0.7087 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3178/2.801, allocations: 88.71 MB / 0.7954 GB, free: 2.73 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/2.801, allocations: 42.81 kB / 0.7954 GB, free: 2.684 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 2.825e-06/2.801, allocations: 1.203 kB / 0.7954 GB, free: 2.684 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.002415/2.803, allocations: 395.8 kB / 0.7958 GB, free: 2.336 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/2.803, allocations: 102.8 kB / 0.7959 GB, free: 2.211 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/2.805, allocations: 1.089 MB / 0.797 GB, free: 1.383 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/2.805, allocations: 33.08 kB / 0.797 GB, free: 1.348 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/2.805, allocations: 388.7 kB / 0.7974 GB, free: 1.086 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/2.805, allocations: 43.53 kB / 0.7974 GB, free: 1.051 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/2.806, allocations: 82.8 kB / 0.7975 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002558/2.806, allocations: 374.5 kB / 0.7978 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/2.806, allocations: 132.7 kB / 0.798 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/2.806, allocations: 310.7 kB / 0.7983 GB, free: 220 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/2.807, allocations: 317.3 kB / 0.7986 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/2.807, allocations: 4 kB / 0.7986 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001681/2.809, allocations: 0.5641 MB / 0.7991 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/2.809, allocations: 5.875 kB / 0.7991 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/2.809, allocations: 4 kB / 0.7991 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/2.81, allocations: 194.4 kB / 0.7993 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/2.81, allocations: 57.56 kB / 0.7994 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007828/2.811, allocations: 0.621 MB / 0.8 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/2.812, allocations: 47.41 kB / 0.8 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/2.812, allocations: 18.91 kB / 0.8 GB, free: 14.61 MB / 0.6856 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.0004813/2.812, allocations: 271.1 kB / 0.8003 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/2.812, allocations: 71.47 kB / 0.8004 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008555/2.813, allocations: 262.6 kB / 0.8006 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/2.813, allocations: 0 / 0.8006 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/2.813, allocations: 0 / 0.8006 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/2.813, allocations: 0 / 0.8006 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/2.815, allocations: 0.7434 MB / 0.8013 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/2.815, allocations: 0 / 0.8013 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/2.815, allocations: 4 kB / 0.8013 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/2.817, allocations: 150 kB / 0.8015 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/2.817, allocations: 4 kB / 0.8015 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006855/2.817, allocations: 0.6333 MB / 0.8021 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.817, allocations: 0 / 0.8021 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/2.819, allocations: 420.2 kB / 0.8025 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/2.819, allocations: 101.3 kB / 0.8026 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/2.819, allocations: 7.203 kB / 0.8026 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/2.819, allocations: 7.984 kB / 0.8026 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/2.82, allocations: 15.3 kB / 0.8026 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/2.82, allocations: 9.203 kB / 0.8026 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001114/2.821, allocations: 0.7827 MB / 0.8034 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/2.821, allocations: 3.844 kB / 0.8034 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005437/2.826, allocations: 1.675 MB / 0.805 GB, free: 10.07 MB / 0.6856 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.009409/2.835, allocations: 2.495 MB / 0.8075 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007493/2.836, allocations: 234.7 kB / 0.8077 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/2.836, allocations: 1.203 kB / 0.8077 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/2.836, allocations: 53.33 kB / 0.8078 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/2.837, allocations: 95.27 kB / 0.8078 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/2.839, allocations: 1.119 MB / 0.8089 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/2.84, allocations: 350.7 kB / 0.8093 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002466/2.84, allocations: 64.48 kB / 0.8093 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/2.84, allocations: 36.5 kB / 0.8094 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of SimCode: time 8.12e-07/2.84, allocations: 0 / 0.8094 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of Templates: time 0.08719/2.928, allocations: 51.14 MB / 0.8593 GB, free: 3.203 MB / 0.7325 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.469833987997845] Failed to read output from testmodel.py, exit status != 0: 3.0913797200191766 3.107851584 0.637435795 Calling exit ...