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.8993/0.8993, allocations: 153.8 MB / 173.4 MB, free: 4.945 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.0005406/0.0005406, allocations: 19.97 kB / 251.1 MB, free: 3.957 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.197, allocations: 33.37 MB / 284.5 MB, free: 2.324 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.948/2.145, allocations: 307.5 MB / 0.5781 GB, free: 16.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2263/2.371, allocations: 190.9 MB / 0.7646 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005783/2.372, allocations: 15.88 kB / 0.7646 GB, free: 6.32 MB / 0.6231 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.0002007/2.372, allocations: 41.14 kB / 0.7646 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004486/2.372, allocations: 111 kB / 0.7647 GB, free: 6.172 MB / 0.6231 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.03503/2.407, allocations: 11.64 MB / 0.7761 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0007168/2.408, allocations: 378.7 kB / 0.7765 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/2.408, allocations: 153.1 kB / 0.7766 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/2.409, allocations: 157.8 kB / 0.7767 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/2.409, allocations: 163.3 kB / 0.7769 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/2.409, allocations: 32 kB / 0.7769 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04166/2.451, allocations: 19.98 MB / 0.7964 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/2.451, allocations: 83.7 kB / 0.7965 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002804/2.451, allocations: 187 kB / 0.7967 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02474/2.476, allocations: 9.782 MB / 0.8063 GB, free: 11.58 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/2.476, allocations: 0 / 0.8063 GB, free: 11.58 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/2.476, allocations: 0 / 0.8063 GB, free: 11.58 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.528e-06/2.476, allocations: 0 / 0.8063 GB, free: 11.58 MB / 0.67 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.004968/2.481, allocations: 1.768 MB / 0.808 GB, free: 9.773 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/2.481, allocations: 12.03 kB / 0.808 GB, free: 9.762 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/2.481, allocations: 49.88 kB / 0.808 GB, free: 9.715 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/2.481, allocations: 247.5 kB / 0.8083 GB, free: 9.449 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/2.481, allocations: 29 kB / 0.8083 GB, free: 9.422 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/2.481, allocations: 28 kB / 0.8083 GB, free: 9.395 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005542/2.482, allocations: 359.1 kB / 0.8087 GB, free: 9.02 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/2.482, allocations: 0 / 0.8087 GB, free: 9.02 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/2.482, allocations: 15.94 kB / 0.8087 GB, free: 9.004 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/2.482, allocations: 8 kB / 0.8087 GB, free: 8.996 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/2.482, allocations: 214.5 kB / 0.8089 GB, free: 8.789 MB / 0.67 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.007892/2.49, allocations: 3.768 MB / 0.8126 GB, free: 4.816 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/2.49, allocations: 63.33 kB / 0.8126 GB, free: 4.746 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/2.49, allocations: 12.86 kB / 0.8127 GB, free: 4.73 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4455/2.936, allocations: 43.93 MB / 0.8556 GB, free: 299.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/2.936, allocations: 31.5 kB / 0.8556 GB, free: 299.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=5): time 1.824e-06/2.936, allocations: 4 kB / 0.8556 GB, free: 299.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5): time 0.0006718/2.937, allocations: 154.5 kB / 0.8557 GB, free: 299 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/2.937, allocations: 59.23 kB / 0.8558 GB, free: 299 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/2.937, allocations: 329 kB / 0.8561 GB, free: 298.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/2.937, allocations: 33.23 kB / 0.8561 GB, free: 298.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/2.937, allocations: 229 kB / 0.8564 GB, free: 298.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/2.937, allocations: 21.58 kB / 0.8564 GB, free: 298.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/2.937, allocations: 61.16 kB / 0.8564 GB, free: 298.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/2.937, allocations: 336.3 kB / 0.8568 GB, free: 298.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/2.937, allocations: 35.17 kB / 0.8568 GB, free: 298.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/2.938, allocations: 137.8 kB / 0.8569 GB, free: 298.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/2.938, allocations: 184.5 kB / 0.8571 GB, free: 298 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.938, allocations: 0 / 0.8571 GB, free: 298 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003995/2.938, allocations: 246.9 kB / 0.8573 GB, free: 297.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/2.938, allocations: 7.906 kB / 0.8573 GB, free: 297.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/2.938, allocations: 6.156 kB / 0.8573 GB, free: 297.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007902/2.939, allocations: 120.6 kB / 0.8575 GB, free: 297.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/2.939, allocations: 38.42 kB / 0.8575 GB, free: 297.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003622/2.939, allocations: 0.5604 MB / 0.858 GB, free: 297.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/2.94, allocations: 33 kB / 0.8581 GB, free: 297.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/2.94, allocations: 7.688 kB / 0.8581 GB, free: 297.3 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.0001317/2.94, allocations: 164.1 kB / 0.8582 GB, free: 297.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/2.94, allocations: 34.94 kB / 0.8583 GB, free: 297.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/2.94, allocations: 132.1 kB / 0.8584 GB, free: 297.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/2.94, allocations: 4 kB / 0.8584 GB, free: 297.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/2.94, allocations: 3.969 kB / 0.8584 GB, free: 297.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/2.94, allocations: 0 / 0.8584 GB, free: 297.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/2.94, allocations: 273.3 kB / 0.8587 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/2.94, allocations: 7.75 kB / 0.8587 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/2.94, allocations: 3.469 kB / 0.8587 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003801/2.941, allocations: 71.36 kB / 0.8587 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/2.941, allocations: 4 kB / 0.8587 GB, free: 296.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002707/2.941, allocations: 0.5598 MB / 0.8593 GB, free: 296.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/2.941, allocations: 0 / 0.8593 GB, free: 296.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/2.941, allocations: 148.6 kB / 0.8594 GB, free: 296.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/2.941, allocations: 49.72 kB / 0.8595 GB, free: 296.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/2.941, allocations: 3.938 kB / 0.8595 GB, free: 296.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/2.941, allocations: 3.984 kB / 0.8595 GB, free: 296.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/2.941, allocations: 7.906 kB / 0.8595 GB, free: 296.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/2.941, allocations: 3.281 kB / 0.8595 GB, free: 296.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002023/2.942, allocations: 242 kB / 0.8597 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/2.942, allocations: 0 / 0.8597 GB, free: 296.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003276/2.945, allocations: 1.46 MB / 0.8612 GB, free: 296.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.005673/2.951, allocations: 2.203 MB / 0.8633 GB, free: 295.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004324/2.951, allocations: 109.5 kB / 0.8634 GB, free: 295 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/2.951, allocations: 4 kB / 0.8634 GB, free: 295 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/2.951, allocations: 37.53 kB / 0.8635 GB, free: 295 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/2.952, allocations: 56.72 kB / 0.8635 GB, free: 295 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/2.952, allocations: 0.5098 MB / 0.864 GB, free: 294.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/2.953, allocations: 0.7729 MB / 0.8648 GB, free: 293.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/2.953, allocations: 27.44 kB / 0.8648 GB, free: 293.6 MB / 0.6856 GB Notification: Performance of SimCode: time 7.81e-07/2.953, allocations: 1.406 kB / 0.8648 GB, free: 293.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.0334/2.986, allocations: 28.71 MB / 0.8928 GB, free: 265.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: 12.25394297693856] Failed to read output from testmodel.py, exit status != 0: 3.15598936798051 3.165733035 0.6874820610000001 Calling exit ...