Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.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.848/0.848, allocations: 120.4 MB / 140.1 MB, free: 52 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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005428/0.0005428, allocations: 23.16 kB / 217.7 MB, free: 13.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05541/0.05595, allocations: 33.36 MB / 251.1 MB, free: 13.31 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.TestSingularPressureLoss): time 1.783/1.838, allocations: 254 MB / 0.4933 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2175/2.056, allocations: 164.7 MB / 0.6542 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/2.056, allocations: 11.88 kB / 0.6542 GB, free: 15.78 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/SingularPressureLoss.mo:27:3-28: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/SingularPressureLoss.mo:29:3-30:65: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.0001602/2.056, allocations: 44.16 kB / 0.6542 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003474/2.057, allocations: 115 kB / 0.6543 GB, free: 15.62 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.03142/2.088, allocations: 11.46 MB / 0.6655 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000587/2.089, allocations: 370.8 kB / 0.6659 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/2.089, allocations: 161.1 kB / 0.666 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/2.089, allocations: 159.4 kB / 0.6662 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/2.089, allocations: 139.2 kB / 0.6663 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/2.089, allocations: 32 kB / 0.6663 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03628/2.126, allocations: 18.6 MB / 0.6845 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/2.126, allocations: 79.7 kB / 0.6846 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002333/2.126, allocations: 159.2 kB / 0.6847 GB, free: 472 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02362/2.15, allocations: 9.782 MB / 0.6943 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/2.15, allocations: 4 kB / 0.6943 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/2.15, allocations: 0 / 0.6943 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.425e-05/2.15, allocations: 0 / 0.6943 GB, free: 6.648 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004535/2.154, allocations: 1.756 MB / 0.696 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/2.154, allocations: 12.03 kB / 0.696 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.003e-05/2.154, allocations: 43.72 kB / 0.696 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/2.155, allocations: 256 kB / 0.6963 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/2.155, allocations: 21 kB / 0.6963 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/2.155, allocations: 36 kB / 0.6963 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/2.156, allocations: 348.9 kB / 0.6967 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/2.156, allocations: 5.484 kB / 0.6967 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/2.156, allocations: 16 kB / 0.6967 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/2.156, allocations: 8 kB / 0.6967 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/2.156, allocations: 218.4 kB / 0.6969 GB, free: 3.855 MB / 0.6387 GB 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.007967/2.164, allocations: 3.071 MB / 0.6999 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/2.164, allocations: 62.53 kB / 0.7 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/2.164, allocations: 16.86 kB / 0.7 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1647/2.329, allocations: 44.11 MB / 0.7431 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/2.329, allocations: 30.56 kB / 0.7431 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=5): time 2.975e-06/2.329, allocations: 1.125 kB / 0.7431 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5): time 0.0007323/2.33, allocations: 154.5 kB / 0.7432 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/2.33, allocations: 59.41 kB / 0.7433 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/2.33, allocations: 300 kB / 0.7436 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/2.33, allocations: 29.7 kB / 0.7436 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/2.33, allocations: 228 kB / 0.7438 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/2.33, allocations: 19.84 kB / 0.7438 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/2.331, allocations: 61.66 kB / 0.7439 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001727/2.331, allocations: 334.8 kB / 0.7442 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/2.331, allocations: 35.98 kB / 0.7443 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/2.331, allocations: 141.5 kB / 0.7444 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/2.331, allocations: 185.5 kB / 0.7446 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/2.331, allocations: 0 / 0.7446 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005293/2.332, allocations: 239.8 kB / 0.7448 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/2.332, allocations: 8 kB / 0.7448 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/2.332, allocations: 7.969 kB / 0.7448 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009008/2.333, allocations: 124.6 kB / 0.7449 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/2.333, allocations: 36.02 kB / 0.745 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005421/2.333, allocations: 0.5692 MB / 0.7455 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/2.334, allocations: 27.78 kB / 0.7456 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/2.334, allocations: 12 kB / 0.7456 GB, free: 1.73 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (singularPressureLoss.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001942/2.334, allocations: 157.7 kB / 0.7457 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/2.334, allocations: 23.8 kB / 0.7457 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/2.334, allocations: 141 kB / 0.7459 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/2.334, allocations: 3.984 kB / 0.7459 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/2.334, allocations: 0 / 0.7459 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/2.334, allocations: 0 / 0.7459 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/2.335, allocations: 205.2 kB / 0.7461 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/2.335, allocations: 3.938 kB / 0.7461 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/2.335, allocations: 3.984 kB / 0.7461 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/2.335, allocations: 74.09 kB / 0.7461 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/2.335, allocations: 0 / 0.7461 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004708/2.335, allocations: 0.5563 MB / 0.7467 GB, free: 500 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/2.335, allocations: 0 / 0.7467 GB, free: 500 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/2.336, allocations: 145.7 kB / 0.7468 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/2.336, allocations: 39.81 kB / 0.7469 GB, free: 292 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/2.336, allocations: 64 / 0.7469 GB, free: 292 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/2.336, allocations: 4 kB / 0.7469 GB, free: 288 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/2.336, allocations: 11.98 kB / 0.7469 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/2.336, allocations: 5.156 kB / 0.7469 GB, free: 272 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002421/2.336, allocations: 203.1 kB / 0.7471 GB, free: 68 kB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/2.336, allocations: 0 / 0.7471 GB, free: 68 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.1808/2.517, allocations: 1.459 MB / 0.7485 GB, free: 313.1 MB / 0.6856 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 (2): * Single equations (assignments): 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006138/2.523, allocations: 2.207 MB / 0.7507 GB, free: 313 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004312/2.524, allocations: 102.2 kB / 0.7508 GB, free: 313 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/2.524, allocations: 0 / 0.7508 GB, free: 313 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/2.524, allocations: 28.19 kB / 0.7508 GB, free: 313 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/2.524, allocations: 59.86 kB / 0.7508 GB, free: 313 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008586/2.525, allocations: 494 kB / 0.7513 GB, free: 312.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/2.525, allocations: 165 kB / 0.7515 GB, free: 312.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001165/2.525, allocations: 29.3 kB / 0.7515 GB, free: 312.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/2.525, allocations: 22.91 kB / 0.7515 GB, free: 312.7 MB / 0.6856 GB Notification: Performance of SimCode: time 6.41e-07/2.525, allocations: 1.094 kB / 0.7515 GB, free: 312.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.04971/2.575, allocations: 45.07 MB / 0.7955 GB, free: 281.6 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.637870511040092] Failed to read output from testmodel.py, exit status != 0: 2.7006887960014865 2.710495578 0.5582128430000001 Calling exit ...