Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.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.8564/0.8564, allocations: 153.8 MB / 173.4 MB, free: 4.875 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.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005557/0.0005557, allocations: 11.97 kB / 251 MB, free: 3.887 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1631, allocations: 33.35 MB / 284.4 MB, free: 2.059 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.TestInvSingularPressureLoss): time 1.881/2.044, allocations: 307.6 MB / 0.5781 GB, free: 17.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.223/2.267, allocations: 164.7 MB / 0.739 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004417/2.267, allocations: 11.78 kB / 0.739 GB, free: 15.98 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourcePQ.mo:75:3-76: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/InvSingularPressureLoss.mo:30:3-31: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/InvSingularPressureLoss.mo:32:3-33: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.0002294/2.268, allocations: 44.14 kB / 0.7391 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005717/2.268, allocations: 115 kB / 0.7392 GB, free: 15.83 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.03213/2.3, allocations: 11.46 MB / 0.7504 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000629/2.301, allocations: 386.7 kB / 0.7507 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/2.301, allocations: 169 kB / 0.7509 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/2.302, allocations: 167.4 kB / 0.7511 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/2.302, allocations: 143.2 kB / 0.7512 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/2.302, allocations: 40 kB / 0.7512 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03481/2.337, allocations: 18.61 MB / 0.7694 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/2.337, allocations: 79.77 kB / 0.7695 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/2.337, allocations: 163.2 kB / 0.7696 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02292/2.36, allocations: 9.79 MB / 0.7792 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/2.36, allocations: 0 / 0.7792 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.784e-06/2.36, allocations: 0 / 0.7792 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.528e-06/2.36, allocations: 0 / 0.7792 GB, free: 6.781 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.004944/2.365, allocations: 1.775 MB / 0.7809 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/2.365, allocations: 12.03 kB / 0.7809 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/2.365, allocations: 44.28 kB / 0.781 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/2.365, allocations: 251.5 kB / 0.7812 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/2.366, allocations: 29 kB / 0.7813 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/2.366, allocations: 33.22 kB / 0.7813 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/2.366, allocations: 364.8 kB / 0.7816 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/2.366, allocations: 1.625 kB / 0.7816 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/2.366, allocations: 18.39 kB / 0.7817 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/2.366, allocations: 8 kB / 0.7817 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/2.367, allocations: 230.4 kB / 0.7819 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07864/2.445, allocations: 21.92 MB / 0.8033 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/2.446, allocations: 76.77 kB / 0.8034 GB, free: 13.88 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/2.446, allocations: 20.92 kB / 0.8034 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4325/2.878, allocations: 67.12 MB / 0.8689 GB, free: 289.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/2.878, allocations: 40.88 kB / 0.869 GB, free: 289.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=5): time 2.885e-06/2.878, allocations: 0 / 0.869 GB, free: 289.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5): time 0.0005189/2.879, allocations: 114.3 kB / 0.8691 GB, free: 289.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/2.879, allocations: 53.88 kB / 0.8691 GB, free: 289.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/2.879, allocations: 309.2 kB / 0.8694 GB, free: 289.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/2.879, allocations: 25.7 kB / 0.8694 GB, free: 289.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/2.879, allocations: 242.5 kB / 0.8697 GB, free: 289 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/2.879, allocations: 14.97 kB / 0.8697 GB, free: 289 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/2.879, allocations: 67.22 kB / 0.8697 GB, free: 288.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/2.88, allocations: 334.9 kB / 0.8701 GB, free: 288.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/2.88, allocations: 42.41 kB / 0.8701 GB, free: 288.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/2.88, allocations: 143.6 kB / 0.8702 GB, free: 288.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/2.88, allocations: 198.6 kB / 0.8704 GB, free: 288.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/2.88, allocations: 0 / 0.8704 GB, free: 288.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004348/2.881, allocations: 213.9 kB / 0.8706 GB, free: 288 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/2.881, allocations: 10.06 kB / 0.8706 GB, free: 288 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/2.881, allocations: 4 kB / 0.8706 GB, free: 288 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/2.881, allocations: 5.422 kB / 0.8707 GB, free: 288 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/2.881, allocations: 124.2 kB / 0.8708 GB, free: 287.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/2.881, allocations: 9.812 kB / 0.8708 GB, free: 287.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/2.881, allocations: 32.83 kB / 0.8708 GB, free: 287.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/2.881, allocations: 12 kB / 0.8708 GB, free: 287.8 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 (sourcePQ.C.ftype,sinkQ.fluid,invSingularPressureLoss.fluid,sourcePQ.fluid1,sourcePQ.C.diff_on_2,invSingularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001677/2.882, allocations: 163.9 kB / 0.871 GB, free: 287.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/2.882, allocations: 23.86 kB / 0.871 GB, free: 287.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/2.882, allocations: 116.7 kB / 0.8711 GB, free: 287.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/2.882, allocations: 0 / 0.8711 GB, free: 287.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/2.882, allocations: 0 / 0.8711 GB, free: 287.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/2.882, allocations: 0 / 0.8711 GB, free: 287.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2055/3.087, allocations: 65.71 MB / 0.9353 GB, free: 222.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/3.087, allocations: 128 / 0.9353 GB, free: 222.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/3.088, allocations: 23.92 kB / 0.9353 GB, free: 222.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/3.088, allocations: 0 / 0.9353 GB, free: 222.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/3.088, allocations: 3.984 kB / 0.9353 GB, free: 222.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/3.088, allocations: 4 kB / 0.9353 GB, free: 222.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/3.088, allocations: 0 / 0.9353 GB, free: 222.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/3.088, allocations: 147.5 kB / 0.9355 GB, free: 222.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/3.088, allocations: 37.7 kB / 0.9355 GB, free: 222.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/3.088, allocations: 8.766 kB / 0.9355 GB, free: 222.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/3.088, allocations: 8 kB / 0.9355 GB, free: 222.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/3.088, allocations: 11.86 kB / 0.9355 GB, free: 222.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/3.088, allocations: 7.75 kB / 0.9355 GB, free: 222.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001774/3.088, allocations: 207.1 kB / 0.9357 GB, free: 222.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/3.088, allocations: 0 / 0.9357 GB, free: 222.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003573/3.092, allocations: 1.464 MB / 0.9372 GB, free: 220.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006815/3.099, allocations: 2.207 MB / 0.9393 GB, free: 219 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004448/3.099, allocations: 108.6 kB / 0.9394 GB, free: 218.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/3.099, allocations: 4 kB / 0.9394 GB, free: 218.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/3.099, allocations: 28.05 kB / 0.9394 GB, free: 218.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/3.1, allocations: 64.03 kB / 0.9395 GB, free: 218.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008808/3.101, allocations: 0.54 MB / 0.94 GB, free: 218.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/3.101, allocations: 173 kB / 0.9402 GB, free: 218 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/3.101, allocations: 27.42 kB / 0.9402 GB, free: 218 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/3.101, allocations: 4 kB / 0.9402 GB, free: 218 MB / 0.6856 GB Notification: Performance of Templates: time 0.03449/3.135, allocations: 27.57 MB / 0.9672 GB, free: 191 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.215289345011115] Failed to read output from testmodel.py, exit status != 0: 3.2848600116558373 3.295360199 0.93297991 Calling exit ...