Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.8278/0.8278, 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.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00055/0.00055, allocations: 19.97 kB / 217.7 MB, free: 12.98 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05431/0.05486, allocations: 33.37 MB / 251.1 MB, free: 11.55 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.SimpleExamples.TestBend): time 1.696/1.751, allocations: 254.2 MB / 0.4934 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2214/1.972, allocations: 167.5 MB / 0.657 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/1.972, allocations: 11.88 kB / 0.657 GB, free: 6.93 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.0003984/1.973, allocations: 211.2 kB / 0.6572 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004659/1.973, allocations: 278.7 kB / 0.6575 GB, free: 6.449 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.0322/2.005, allocations: 12.44 MB / 0.6696 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008849/2.006, allocations: 0.5418 MB / 0.6702 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/2.007, allocations: 241.1 kB / 0.6704 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/2.007, allocations: 275.1 kB / 0.6707 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004454/2.007, allocations: 354.9 kB / 0.671 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/2.008, allocations: 40 kB / 0.671 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3011/2.309, allocations: 19.68 MB / 0.6903 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002117/2.309, allocations: 215.7 kB / 0.6905 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/2.309, allocations: 264 kB / 0.6907 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0188/2.328, allocations: 10.8 MB / 0.7013 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/2.328, allocations: 3.125 kB / 0.7013 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.282e-06/2.328, allocations: 0.8438 kB / 0.7013 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.236e-05/2.328, allocations: 3.469 kB / 0.7013 GB, free: 12.88 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.004768/2.333, allocations: 2.282 MB / 0.7035 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/2.333, allocations: 14.31 kB / 0.7035 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/2.333, allocations: 91.03 kB / 0.7036 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/2.333, allocations: 0.5143 MB / 0.7041 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/2.333, allocations: 34.56 kB / 0.7041 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/2.334, allocations: 35.5 kB / 0.7042 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/2.334, allocations: 0.5325 MB / 0.7047 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/2.334, allocations: 3.281 kB / 0.7047 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/2.334, allocations: 17.62 kB / 0.7047 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/2.334, allocations: 14.38 kB / 0.7047 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/2.335, allocations: 412.9 kB / 0.7051 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007328/2.342, allocations: 3.682 MB / 0.7087 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/2.343, allocations: 121.4 kB / 0.7088 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.521e-05/2.343, allocations: 38.89 kB / 0.7089 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3056/2.648, allocations: 88.72 MB / 0.7955 GB, free: 2.586 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/2.648, allocations: 46.66 kB / 0.7955 GB, free: 2.539 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/2.648, allocations: 0 / 0.7955 GB, free: 2.539 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.002269/2.651, allocations: 394.6 kB / 0.7959 GB, free: 2.191 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/2.651, allocations: 102.8 kB / 0.796 GB, free: 2.066 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/2.652, allocations: 1.09 MB / 0.7971 GB, free: 1.238 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/2.652, allocations: 28.95 kB / 0.7971 GB, free: 1.207 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/2.652, allocations: 391 kB / 0.7975 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/2.652, allocations: 41.45 kB / 0.7975 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/2.653, allocations: 85.55 kB / 0.7976 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001914/2.653, allocations: 374.3 kB / 0.798 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/2.653, allocations: 134.9 kB / 0.7981 GB, free: 412 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/2.653, allocations: 310.8 kB / 0.7984 GB, free: 72 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004279/2.654, allocations: 314.3 kB / 0.7987 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/2.654, allocations: 8 kB / 0.7987 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001463/2.655, allocations: 0.5529 MB / 0.7992 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/2.655, allocations: 4 kB / 0.7992 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/2.655, allocations: 4 kB / 0.7992 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/2.657, allocations: 212.2 kB / 0.7994 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/2.657, allocations: 53.86 kB / 0.7995 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006601/2.658, allocations: 0.6208 MB / 0.8001 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/2.658, allocations: 43.34 kB / 0.8001 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/2.658, allocations: 19.25 kB / 0.8002 GB, free: 14.46 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.0003244/2.658, allocations: 272.7 kB / 0.8004 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/2.658, allocations: 71.47 kB / 0.8005 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007333/2.659, allocations: 259.3 kB / 0.8007 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/2.659, allocations: 1.203 kB / 0.8007 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/2.659, allocations: 0 / 0.8007 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/2.659, allocations: 0 / 0.8007 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/2.661, allocations: 0.7431 MB / 0.8015 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/2.661, allocations: 0 / 0.8015 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/2.661, allocations: 4 kB / 0.8015 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/2.662, allocations: 160.8 kB / 0.8016 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/2.662, allocations: 0 / 0.8016 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006229/2.663, allocations: 0.6322 MB / 0.8022 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.663, allocations: 0 / 0.8022 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/2.664, allocations: 418.8 kB / 0.8026 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/2.664, allocations: 106.1 kB / 0.8027 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/2.665, allocations: 7.453 kB / 0.8027 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/2.665, allocations: 7.984 kB / 0.8027 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/2.665, allocations: 15.17 kB / 0.8028 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/2.665, allocations: 4 kB / 0.8028 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009302/2.666, allocations: 0.7845 MB / 0.8035 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/2.666, allocations: 0 / 0.8035 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004383/2.67, allocations: 1.676 MB / 0.8052 GB, free: 9.926 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.006837/2.677, allocations: 2.496 MB / 0.8076 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000649/2.678, allocations: 229.5 kB / 0.8078 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/2.678, allocations: 4.062 kB / 0.8078 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/2.678, allocations: 53.11 kB / 0.8079 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000631/2.678, allocations: 91.23 kB / 0.808 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/2.68, allocations: 1.12 MB / 0.8091 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/2.681, allocations: 353 kB / 0.8094 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001922/2.681, allocations: 63.34 kB / 0.8095 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/2.681, allocations: 33.81 kB / 0.8095 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of SimCode: time 5.21e-07/2.681, allocations: 0 / 0.8095 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of Templates: time 0.07735/2.758, allocations: 51.14 MB / 0.8594 GB, free: 3.051 MB / 0.7325 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.944931759033352] Failed to read output from testmodel.py, exit status != 0: 2.893193442025222 2.907513163 0.576359572 Calling exit ...