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.5488/0.5488, allocations: 111.6 MB / 131.5 MB, free: 4.914 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 2.555e-06/2.555e-06, allocations: 0 / 176.6 MB, free: 8.961 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.295e-05, allocations: 5.047 kB / 176.6 MB, free: 8.957 MB / 170.7 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.096/1.096, allocations: 263 MB / 439.7 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3496/1.446, allocations: 183.8 MB / 0.6089 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/1.446, allocations: 11.94 kB / 0.6089 GB, free: 12.16 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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:32:3-33:80: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:42:3-43:80: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:44:3-45:80: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.0003007/1.447, allocations: 199.2 kB / 0.6091 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003461/1.447, allocations: 298.4 kB / 0.6094 GB, free: 11.68 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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:56:5-56:88: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.02402/1.471, allocations: 12.7 MB / 0.6218 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0006042/1.472, allocations: 0.5611 MB / 0.6223 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/1.472, allocations: 262 kB / 0.6226 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/1.472, allocations: 367.2 kB / 0.6229 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/1.472, allocations: 291.3 kB / 0.6232 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/1.473, allocations: 40 kB / 0.6232 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02499/1.498, allocations: 19.71 MB / 0.6425 GB, free: 9.695 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/1.498, allocations: 223.3 kB / 0.6427 GB, free: 9.477 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/1.498, allocations: 199.4 kB / 0.6429 GB, free: 9.281 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.02056/1.518, allocations: 13.14 MB / 0.6557 GB, free: 12.1 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.518, allocations: 0 / 0.6557 GB, free: 12.1 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.543e-06/1.518, allocations: 0 / 0.6557 GB, free: 12.1 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.395e-06/1.518, allocations: 0 / 0.6557 GB, free: 12.1 MB / 0.573 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.004328/1.523, allocations: 2.234 MB / 0.6579 GB, free: 9.828 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/1.523, allocations: 15.98 kB / 0.6579 GB, free: 9.812 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/1.523, allocations: 87.91 kB / 0.658 GB, free: 9.727 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/1.523, allocations: 402.3 kB / 0.6584 GB, free: 9.305 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/1.523, allocations: 32.94 kB / 0.6584 GB, free: 9.273 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/1.523, allocations: 43.98 kB / 0.6585 GB, free: 9.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/1.524, allocations: 402.3 kB / 0.6589 GB, free: 8.781 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.524, allocations: 0 / 0.6589 GB, free: 8.781 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/1.524, allocations: 16 kB / 0.6589 GB, free: 8.766 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/1.524, allocations: 8 kB / 0.6589 GB, free: 8.758 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/1.524, allocations: 129.8 kB / 0.659 GB, free: 8.633 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/1.529, allocations: 3.63 MB / 0.6625 GB, free: 4.961 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/1.529, allocations: 74.45 kB / 0.6626 GB, free: 4.879 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/1.529, allocations: 24.84 kB / 0.6626 GB, free: 4.852 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.352/1.881, allocations: 80.13 MB / 0.7409 GB, free: 89.38 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/1.881, allocations: 35.25 kB / 0.7409 GB, free: 89.34 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=11): time 2.325e-06/1.881, allocations: 0 / 0.7409 GB, free: 89.34 MB / 0.6199 GB Notification: Performance of matching and sorting (n=11): time 0.00114/1.882, allocations: 287.6 kB / 0.7412 GB, free: 89.29 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/1.882, allocations: 110.2 kB / 0.7413 GB, free: 89.16 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/1.883, allocations: 0.6929 MB / 0.742 GB, free: 89.02 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/1.883, allocations: 29.27 kB / 0.742 GB, free: 88.99 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.883, allocations: 303.1 kB / 0.7423 GB, free: 88.91 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/1.883, allocations: 49.08 kB / 0.7423 GB, free: 88.89 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/1.883, allocations: 80.09 kB / 0.7424 GB, free: 88.87 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/1.883, allocations: 375.8 kB / 0.7428 GB, free: 88.55 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/1.883, allocations: 25.05 kB / 0.7428 GB, free: 88.55 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/1.883, allocations: 220.3 kB / 0.743 GB, free: 88.32 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/1.883, allocations: 197.7 kB / 0.7432 GB, free: 88.18 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.883, allocations: 3.812 kB / 0.7432 GB, free: 88.18 MB / 0.6199 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006113/1.884, allocations: 287.7 kB / 0.7435 GB, free: 88.13 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.884, allocations: 14.23 kB / 0.7435 GB, free: 88.12 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.884, allocations: 3.594 kB / 0.7435 GB, free: 88.12 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/1.885, allocations: 140.5 kB / 0.7436 GB, free: 88.11 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/1.885, allocations: 49.72 kB / 0.7437 GB, free: 88.11 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002747/1.885, allocations: 0.5764 MB / 0.7442 GB, free: 87.59 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/1.885, allocations: 34.45 kB / 0.7443 GB, free: 87.58 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/1.885, allocations: 15.83 kB / 0.7443 GB, free: 87.58 MB / 0.6199 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 (Bend.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,Bend.fluid,SinkP1.fluid,SourceP1.C.ftype) * 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.0001108/1.885, allocations: 130 kB / 0.7444 GB, free: 87.46 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/1.885, allocations: 46.33 kB / 0.7445 GB, free: 87.46 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/1.885, allocations: 196.7 kB / 0.7446 GB, free: 87.4 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.885, allocations: 6.969 kB / 0.7446 GB, free: 87.39 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/1.885, allocations: 0 / 0.7446 GB, free: 87.39 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.885, allocations: 1.594 kB / 0.7447 GB, free: 87.39 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007789/1.886, allocations: 0.5027 MB / 0.7451 GB, free: 87.2 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.886, allocations: 3.891 kB / 0.7451 GB, free: 87.2 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/1.886, allocations: 4 kB / 0.7451 GB, free: 87.2 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004068/1.887, allocations: 118.4 kB / 0.7453 GB, free: 87.18 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/1.887, allocations: 4.594 kB / 0.7453 GB, free: 87.18 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002017/1.887, allocations: 0.5742 MB / 0.7458 GB, free: 86.66 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.887, allocations: 7.125 kB / 0.7458 GB, free: 86.66 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/1.887, allocations: 315.8 kB / 0.7461 GB, free: 86.51 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/1.887, allocations: 91.11 kB / 0.7462 GB, free: 86.47 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/1.887, allocations: 1.266 kB / 0.7462 GB, free: 86.47 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/1.888, allocations: 6.625 kB / 0.7462 GB, free: 86.47 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/1.888, allocations: 13.14 kB / 0.7462 GB, free: 86.46 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/1.888, allocations: 5.578 kB / 0.7462 GB, free: 86.46 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.000237/1.888, allocations: 350.8 kB / 0.7466 GB, free: 86.43 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/1.888, allocations: 0 / 0.7466 GB, free: 86.43 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.003129/1.891, allocations: 1.672 MB / 0.7482 GB, free: 86.43 MB / 0.6199 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.004406/1.895, allocations: 2.878 MB / 0.751 GB, free: 86.01 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002997/1.896, allocations: 130.1 kB / 0.7511 GB, free: 86 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.896, allocations: 9.781 kB / 0.7512 GB, free: 86 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/1.896, allocations: 46.62 kB / 0.7512 GB, free: 85.98 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/1.896, allocations: 88.58 kB / 0.7513 GB, free: 85.98 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/1.897, allocations: 0.9918 MB / 0.7523 GB, free: 85.44 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.789e-05/1.897, allocations: 164.3 kB / 0.7524 GB, free: 85.37 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 9.44e-05/1.897, allocations: 63.73 kB / 0.7525 GB, free: 85.35 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/1.897, allocations: 119.6 kB / 0.7526 GB, free: 85.3 MB / 0.6199 GB Notification: Performance of SimCode: time 1.001e-06/1.897, allocations: 0 / 0.7526 GB, free: 85.3 MB / 0.6199 GB Notification: Performance of Templates: time 0.04717/1.945, allocations: 60.38 MB / 0.8116 GB, free: 35.69 MB / 0.6199 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.896690772846341]