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.8831/0.8831, allocations: 153.8 MB / 173.4 MB, free: 4.883 MB / 142.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.000532/0.000532, allocations: 15.97 kB / 251 MB, free: 3.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1507, allocations: 33.36 MB / 284.4 MB, free: 2.055 MB / 222.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.875/2.026, allocations: 307.6 MB / 0.5781 GB, free: 17.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.21/2.236, allocations: 164.7 MB / 0.739 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003779/2.236, allocations: 7.938 kB / 0.739 GB, free: 404 kB / 0.5919 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.0002045/2.236, allocations: 48.84 kB / 0.739 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000448/2.237, allocations: 115 kB / 0.7391 GB, free: 240 kB / 0.5919 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.03038/2.267, allocations: 11.46 MB / 0.7503 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/2.268, allocations: 370.8 kB / 0.7507 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/2.268, allocations: 166 kB / 0.7508 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/2.268, allocations: 155.4 kB / 0.751 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/2.269, allocations: 139.3 kB / 0.7511 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/2.269, allocations: 32 kB / 0.7511 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03596/2.305, allocations: 18.61 MB / 0.7693 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/2.305, allocations: 79.77 kB / 0.7694 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/2.305, allocations: 147.3 kB / 0.7695 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02415/2.329, allocations: 9.794 MB / 0.7791 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/2.329, allocations: 0 / 0.7791 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.684e-06/2.329, allocations: 0 / 0.7791 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.674e-06/2.329, allocations: 0 / 0.7791 GB, free: 7.254 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.004138/2.333, allocations: 1.756 MB / 0.7808 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/2.333, allocations: 8.031 kB / 0.7808 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.401e-05/2.333, allocations: 47.72 kB / 0.7809 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/2.334, allocations: 251.5 kB / 0.7811 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/2.334, allocations: 27.06 kB / 0.7811 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/2.334, allocations: 32 kB / 0.7812 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/2.334, allocations: 352.9 kB / 0.7815 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/2.334, allocations: 0 / 0.7815 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/2.334, allocations: 16 kB / 0.7815 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/2.334, allocations: 13.5 kB / 0.7815 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/2.335, allocations: 210.4 kB / 0.7817 GB, free: 4.473 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.007774/2.343, allocations: 3.074 MB / 0.7847 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/2.343, allocations: 51.41 kB / 0.7848 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/2.343, allocations: 22.17 kB / 0.7848 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1571/2.5, allocations: 44.1 MB / 0.8279 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/2.5, allocations: 34.5 kB / 0.8279 GB, free: 5.074 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/2.5, allocations: 4 kB / 0.8279 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5): time 0.0006879/2.501, allocations: 153.7 kB / 0.828 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/2.501, allocations: 51.41 kB / 0.8281 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/2.501, allocations: 308 kB / 0.8284 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/2.501, allocations: 25.7 kB / 0.8284 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/2.501, allocations: 239.9 kB / 0.8286 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/2.501, allocations: 19.83 kB / 0.8287 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/2.502, allocations: 61.61 kB / 0.8287 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001695/2.502, allocations: 338.8 kB / 0.829 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.752e-05/2.502, allocations: 38.97 kB / 0.8291 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/2.502, allocations: 142.5 kB / 0.8292 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/2.502, allocations: 185.5 kB / 0.8294 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/2.502, allocations: 0 / 0.8294 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004957/2.503, allocations: 239 kB / 0.8296 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/2.503, allocations: 4 kB / 0.8296 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/2.503, allocations: 6.375 kB / 0.8296 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008415/2.504, allocations: 116.9 kB / 0.8297 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/2.504, allocations: 39.92 kB / 0.8298 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004943/2.504, allocations: 0.5616 MB / 0.8303 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/2.504, allocations: 27.78 kB / 0.8304 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/2.504, allocations: 15.98 kB / 0.8304 GB, free: 2.359 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.0001714/2.505, allocations: 150.3 kB / 0.8305 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/2.505, allocations: 27.86 kB / 0.8305 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/2.505, allocations: 141.3 kB / 0.8307 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/2.505, allocations: 4.609 kB / 0.8307 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/2.505, allocations: 0 / 0.8307 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/2.505, allocations: 0 / 0.8307 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/2.505, allocations: 213.8 kB / 0.8309 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/2.505, allocations: 7.938 kB / 0.8309 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/2.505, allocations: 0 / 0.8309 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004179/2.506, allocations: 70.83 kB / 0.831 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/2.506, allocations: 1.031 kB / 0.831 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004629/2.506, allocations: 0.5524 MB / 0.8315 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/2.506, allocations: 4.062 kB / 0.8315 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/2.506, allocations: 146.9 kB / 0.8316 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/2.507, allocations: 37.98 kB / 0.8317 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/2.507, allocations: 7.984 kB / 0.8317 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/2.507, allocations: 0 / 0.8317 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/2.507, allocations: 4 kB / 0.8317 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/2.507, allocations: 8.875 kB / 0.8317 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002453/2.507, allocations: 203.1 kB / 0.8319 GB, free: 0.7031 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/2.507, allocations: 0 / 0.8319 GB, free: 0.7031 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.1867/2.694, allocations: 1.458 MB / 0.8333 GB, free: 302.2 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.005505/2.699, allocations: 2.202 MB / 0.8355 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003987/2.7, allocations: 106.4 kB / 0.8356 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/2.7, allocations: 0 / 0.8356 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/2.7, allocations: 33.06 kB / 0.8356 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/2.7, allocations: 56.34 kB / 0.8357 GB, free: 302.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/2.701, allocations: 0.5084 MB / 0.8362 GB, free: 301.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/2.701, allocations: 169.6 kB / 0.8363 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/2.701, allocations: 24.34 kB / 0.8363 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/2.701, allocations: 0.6562 kB / 0.8363 GB, free: 301.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.03391/2.735, allocations: 28.64 MB / 0.8643 GB, free: 293.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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.670777047984302] Failed to read output from testmodel.py, exit status != 0: 2.8600800917483866 2.8695964 0.538238326 Calling exit ...