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.5145/0.5145, allocations: 111.6 MB / 132.2 MB, free: 4.016 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.034e-06/2.034e-06, allocations: 0 / 177.3 MB, free: 8.898 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.344e-05, allocations: 5.266 kB / 177.3 MB, free: 8.895 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.082/1.082, allocations: 257.1 MB / 434.4 MB, free: 248 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3276/1.41, allocations: 178.2 MB / 0.5982 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/1.41, allocations: 15.88 kB / 0.5982 GB, free: 3.746 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.0001088/1.41, allocations: 35.59 kB / 0.5983 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002419/1.41, allocations: 118.9 kB / 0.5984 GB, free: 3.594 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.02042/1.431, allocations: 11.58 MB / 0.6097 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004064/1.431, allocations: 394.5 kB / 0.6101 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/1.431, allocations: 165.1 kB / 0.6102 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/1.431, allocations: 231.5 kB / 0.6104 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/1.431, allocations: 115.6 kB / 0.6106 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/1.432, allocations: 32 kB / 0.6106 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02296/1.454, allocations: 18.65 MB / 0.6288 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/1.455, allocations: 83.67 kB / 0.6289 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/1.455, allocations: 127.7 kB / 0.629 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01926/1.474, allocations: 12.2 MB / 0.6409 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.474, allocations: 0 / 0.6409 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.452e-06/1.474, allocations: 0 / 0.6409 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.05e-06/1.474, allocations: 4 kB / 0.6409 GB, free: 7.945 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.003533/1.478, allocations: 1.856 MB / 0.6427 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/1.478, allocations: 15.98 kB / 0.6427 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/1.478, allocations: 72.22 kB / 0.6428 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/1.478, allocations: 258.8 kB / 0.6431 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/1.478, allocations: 33 kB / 0.6431 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/1.478, allocations: 32 kB / 0.6431 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/1.478, allocations: 307.3 kB / 0.6434 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.478, allocations: 0 / 0.6434 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/1.478, allocations: 12 kB / 0.6434 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/1.478, allocations: 11.94 kB / 0.6434 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/1.478, allocations: 115 kB / 0.6435 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003902/1.482, allocations: 3.212 MB / 0.6467 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/1.482, allocations: 51.03 kB / 0.6467 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/1.482, allocations: 15.72 kB / 0.6467 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06707/1.55, allocations: 38.32 MB / 0.6842 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.55, allocations: 37.33 kB / 0.6842 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/1.55, allocations: 0 / 0.6842 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0004245/1.55, allocations: 134.6 kB / 0.6843 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/1.55, allocations: 55.41 kB / 0.6844 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/1.55, allocations: 334 kB / 0.6847 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/1.55, allocations: 25.7 kB / 0.6847 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/1.55, allocations: 278.7 kB / 0.685 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/1.55, allocations: 31.81 kB / 0.685 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/1.55, allocations: 63.25 kB / 0.6851 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.551, allocations: 0.5001 MB / 0.6856 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.01e-05/1.551, allocations: 16.61 kB / 0.6856 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.635e-05/1.551, allocations: 166.9 kB / 0.6857 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/1.551, allocations: 199.8 kB / 0.6859 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.551, allocations: 0 / 0.6859 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002417/1.551, allocations: 214.6 kB / 0.6861 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.551, allocations: 4 kB / 0.6861 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.551, allocations: 4 kB / 0.6862 GB, free: 9.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/1.551, allocations: 69.53 kB / 0.6862 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/1.551, allocations: 35.92 kB / 0.6863 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003025/1.552, allocations: 0.8155 MB / 0.687 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/1.552, allocations: 27.78 kB / 0.6871 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/1.552, allocations: 8 kB / 0.6871 GB, free: 8.191 MB / 0.6042 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.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,PuitsP1.fluid,SourceP1.C.ftype,singularPressureLoss.fluid) * 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 9.236e-05/1.552, allocations: 181.6 kB / 0.6873 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/1.552, allocations: 23.86 kB / 0.6873 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/1.552, allocations: 132.4 kB / 0.6874 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.552, allocations: 7.969 kB / 0.6874 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/1.552, allocations: 4.938 kB / 0.6874 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/1.552, allocations: 0 / 0.6874 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/1.552, allocations: 165.1 kB / 0.6876 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.552, allocations: 0 / 0.6876 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.868e-06/1.552, allocations: 4 kB / 0.6876 GB, free: 7.633 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/1.552, allocations: 52.62 kB / 0.6876 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/1.552, allocations: 0 / 0.6876 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002585/1.553, allocations: 0.8194 MB / 0.6884 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.553, allocations: 4 kB / 0.6884 GB, free: 6.723 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/1.553, allocations: 132.5 kB / 0.6886 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/1.553, allocations: 39.77 kB / 0.6886 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/1.553, allocations: 384 / 0.6886 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.648e-05/1.553, allocations: 4 kB / 0.6886 GB, free: 6.523 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/1.553, allocations: 8 kB / 0.6886 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/1.553, allocations: 0 / 0.6886 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.955e-05/1.553, allocations: 215 kB / 0.6888 GB, free: 6.309 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/1.553, allocations: 3.938 kB / 0.6888 GB, free: 6.305 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002535/1.556, allocations: 1.465 MB / 0.6902 GB, free: 4.836 MB / 0.6042 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.003829/1.559, allocations: 2.492 MB / 0.6927 GB, free: 2.336 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002016/1.56, allocations: 92.25 kB / 0.6928 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.56, allocations: 0 / 0.6928 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/1.56, allocations: 35.59 kB / 0.6928 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/1.56, allocations: 66.48 kB / 0.6929 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008119/1.561, allocations: 485.2 kB / 0.6933 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/1.561, allocations: 84.31 kB / 0.6934 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.133e-05/1.561, allocations: 33.92 kB / 0.6934 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/1.561, allocations: 114.2 kB / 0.6936 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/1.561, allocations: 4 kB / 0.6936 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of Templates: time 0.2497/1.811, allocations: 54.31 MB / 0.7466 GB, free: 91.39 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: 6.252985164988786]