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.4824/0.4824, allocations: 111.6 MB / 131.7 MB, free: 5.066 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.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 2.595e-06/2.595e-06, allocations: 0 / 176.5 MB, free: 9.422 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.094e-05, allocations: 5.047 kB / 176.5 MB, free: 9.418 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.TestSingularPressureLoss): time 1.078/1.078, allocations: 257 MB / 433.5 MB, free: 400 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3523/1.431, allocations: 181.2 MB / 0.6003 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/1.431, allocations: 7.938 kB / 0.6003 GB, free: 1.371 MB / 0.5105 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/SingularPressureLoss.mo:22:3-23: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/SingularPressureLoss.mo:24:3-25:78: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.0001031/1.431, allocations: 47.52 kB / 0.6003 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002614/1.431, allocations: 114.9 kB / 0.6004 GB, free: 1.211 MB / 0.5105 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.02087/1.452, allocations: 11.58 MB / 0.6117 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004361/1.452, allocations: 390.5 kB / 0.6121 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/1.453, allocations: 169.1 kB / 0.6123 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/1.453, allocations: 227.5 kB / 0.6125 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/1.453, allocations: 115.6 kB / 0.6126 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/1.453, allocations: 35.98 kB / 0.6126 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02327/1.476, allocations: 18.64 MB / 0.6309 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/1.476, allocations: 83.69 kB / 0.6309 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/1.477, allocations: 123.7 kB / 0.631 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01901/1.496, allocations: 12.19 MB / 0.643 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.496, allocations: 3.938 kB / 0.643 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.723e-06/1.496, allocations: 0 / 0.643 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.822e-06/1.496, allocations: 0 / 0.643 GB, free: 5.578 MB / 0.5573 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.003998/1.5, allocations: 1.859 MB / 0.6448 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.5, allocations: 15.98 kB / 0.6448 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/1.5, allocations: 72.41 kB / 0.6449 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/1.5, allocations: 262.8 kB / 0.6451 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/1.5, allocations: 25 kB / 0.6451 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/1.5, allocations: 32 kB / 0.6452 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/1.5, allocations: 318.6 kB / 0.6455 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.5, allocations: 0 / 0.6455 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/1.5, allocations: 19.98 kB / 0.6455 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/1.5, allocations: 12.62 kB / 0.6455 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/1.501, allocations: 135.8 kB / 0.6456 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/1.505, allocations: 3.332 MB / 0.6489 GB, free: 15.34 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/1.505, allocations: 51.64 kB / 0.6489 GB, free: 15.28 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/1.505, allocations: 19.62 kB / 0.6489 GB, free: 15.25 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07375/1.579, allocations: 44.25 MB / 0.6922 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/1.579, allocations: 41.39 kB / 0.6922 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.354e-06/1.579, allocations: 0 / 0.6922 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0005739/1.579, allocations: 130.6 kB / 0.6923 GB, free: 2.773 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/1.579, allocations: 55.34 kB / 0.6924 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/1.58, allocations: 338.1 kB / 0.6927 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/1.58, allocations: 25.7 kB / 0.6927 GB, free: 2.332 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.58, allocations: 282.7 kB / 0.693 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/1.58, allocations: 19.84 kB / 0.693 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/1.58, allocations: 63.27 kB / 0.6931 GB, free: 1.961 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.58, allocations: 0.5001 MB / 0.6936 GB, free: 1.449 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/1.58, allocations: 24.55 kB / 0.6936 GB, free: 1.426 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/1.58, allocations: 166.9 kB / 0.6937 GB, free: 1.195 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/1.58, allocations: 206.8 kB / 0.6939 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.58, allocations: 7.875 kB / 0.6939 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002802/1.581, allocations: 228 kB / 0.6942 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.581, allocations: 8 kB / 0.6942 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.581, allocations: 4 kB / 0.6942 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/1.581, allocations: 84.91 kB / 0.6943 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/1.581, allocations: 40.14 kB / 0.6943 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003445/1.582, allocations: 0.8233 MB / 0.6951 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/1.582, allocations: 23.83 kB / 0.6951 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/1.582, allocations: 12 kB / 0.6951 GB, free: 15.66 MB / 0.6198 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.0001003/1.582, allocations: 164.5 kB / 0.6953 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/1.582, allocations: 27.86 kB / 0.6953 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/1.582, allocations: 131.4 kB / 0.6954 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/1.582, allocations: 0 / 0.6954 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.582, allocations: 1.438 kB / 0.6954 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.582, allocations: 3.984 kB / 0.6954 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/1.582, allocations: 224.5 kB / 0.6957 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.582, allocations: 48 / 0.6957 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/1.582, allocations: 7.984 kB / 0.6957 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/1.582, allocations: 67.42 kB / 0.6957 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/1.582, allocations: 0.625 kB / 0.6957 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002748/1.583, allocations: 0.8195 MB / 0.6965 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.583, allocations: 0 / 0.6965 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/1.583, allocations: 144.5 kB / 0.6967 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/1.583, allocations: 39.88 kB / 0.6967 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/1.583, allocations: 384 / 0.6967 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.66e-05/1.583, allocations: 3.984 kB / 0.6967 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/1.583, allocations: 4 kB / 0.6967 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/1.583, allocations: 4 kB / 0.6967 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001218/1.583, allocations: 219 kB / 0.6969 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/1.583, allocations: 0 / 0.6969 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002608/1.586, allocations: 1.461 MB / 0.6984 GB, free: 12.23 MB / 0.6198 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.004205/1.59, allocations: 2.406 MB / 0.7007 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000235/1.59, allocations: 100.3 kB / 0.7008 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.59, allocations: 4.062 kB / 0.7008 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/1.59, allocations: 31.67 kB / 0.7008 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/1.59, allocations: 62.84 kB / 0.7009 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009417/1.591, allocations: 480.1 kB / 0.7014 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/1.591, allocations: 88.3 kB / 0.7014 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.13e-05/1.591, allocations: 30.08 kB / 0.7015 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/1.591, allocations: 24.5 kB / 0.7015 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of SimCode: time 8.61e-07/1.591, allocations: 0 / 0.7015 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of Templates: time 0.1622/1.754, allocations: 46.32 MB / 0.7467 GB, free: 264.7 MB / 0.6198 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.397628372069448]