Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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.892/0.892, allocations: 153.8 MB / 173.4 MB, free: 4.918 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005774/0.0005774, allocations: 15.97 kB / 251.1 MB, free: 3.961 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2056, allocations: 33.36 MB / 284.4 MB, free: 2.113 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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.939/2.145, allocations: 307.5 MB / 0.578 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2473/2.392, allocations: 191 MB / 0.7645 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005327/2.392, allocations: 7.938 kB / 0.7645 GB, free: 6.062 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/PipePressureLoss.mo:33:3-34: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/PipePressureLoss.mo:35:3-36: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.0002467/2.393, allocations: 48.08 kB / 0.7646 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0005848/2.393, allocations: 115 kB / 0.7647 GB, free: 5.902 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.03519/2.428, allocations: 11.65 MB / 0.7761 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000792/2.429, allocations: 390.8 kB / 0.7764 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/2.429, allocations: 165 kB / 0.7766 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/2.43, allocations: 163.4 kB / 0.7768 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/2.43, allocations: 167.2 kB / 0.7769 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/2.43, allocations: 36 kB / 0.777 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0414/2.472, allocations: 19.98 MB / 0.7965 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/2.472, allocations: 89.66 kB / 0.7966 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002713/2.472, allocations: 191 kB / 0.7967 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02671/2.499, allocations: 9.794 MB / 0.8063 GB, free: 11.25 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/2.499, allocations: 0 / 0.8063 GB, free: 11.25 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.874e-06/2.499, allocations: 0 / 0.8063 GB, free: 11.25 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.671e-05/2.499, allocations: 0 / 0.8063 GB, free: 11.25 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.005213/2.504, allocations: 1.788 MB / 0.808 GB, free: 9.418 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/2.504, allocations: 12.03 kB / 0.8081 GB, free: 9.406 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/2.504, allocations: 47.72 kB / 0.8081 GB, free: 9.359 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/2.505, allocations: 252.5 kB / 0.8083 GB, free: 9.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/2.505, allocations: 21 kB / 0.8084 GB, free: 9.07 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/2.505, allocations: 41.31 kB / 0.8084 GB, free: 9.031 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/2.505, allocations: 352.9 kB / 0.8087 GB, free: 8.664 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/2.505, allocations: 4 kB / 0.8087 GB, free: 8.66 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/2.505, allocations: 15.98 kB / 0.8088 GB, free: 8.645 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/2.505, allocations: 12 kB / 0.8088 GB, free: 8.633 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/2.506, allocations: 223.2 kB / 0.809 GB, free: 8.418 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.008429/2.514, allocations: 3.789 MB / 0.8127 GB, free: 4.422 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/2.514, allocations: 82.44 kB / 0.8128 GB, free: 4.332 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/2.515, allocations: 28.94 kB / 0.8128 GB, free: 4.301 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4191/2.934, allocations: 66.86 MB / 0.8781 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/2.934, allocations: 37.16 kB / 0.8781 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/2.934, allocations: 0 / 0.8781 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.00087/2.935, allocations: 210.8 kB / 0.8783 GB, free: 278.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/2.935, allocations: 54.03 kB / 0.8784 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/2.935, allocations: 332.2 kB / 0.8787 GB, free: 278.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/2.935, allocations: 25.7 kB / 0.8787 GB, free: 278.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/2.935, allocations: 231.6 kB / 0.8789 GB, free: 278.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/2.935, allocations: 32.03 kB / 0.879 GB, free: 278.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/2.935, allocations: 69.16 kB / 0.879 GB, free: 278 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/2.935, allocations: 333.4 kB / 0.8793 GB, free: 277.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/2.935, allocations: 46.81 kB / 0.8794 GB, free: 277.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/2.935, allocations: 138.2 kB / 0.8795 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/2.936, allocations: 190.1 kB / 0.8797 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/2.936, allocations: 0 / 0.8797 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004919/2.936, allocations: 278.3 kB / 0.88 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/2.936, allocations: 13.19 kB / 0.88 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/2.936, allocations: 0 / 0.88 GB, free: 277.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008706/2.937, allocations: 136.2 kB / 0.8801 GB, free: 277 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/2.937, allocations: 30.89 kB / 0.8801 GB, free: 276.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003311/2.937, allocations: 0.5845 MB / 0.8807 GB, free: 276.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/2.938, allocations: 34.31 kB / 0.8807 GB, free: 276.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/2.938, allocations: 12 kB / 0.8808 GB, free: 276.3 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,pipePressureLoss.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,pipePressureLoss.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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001486/2.938, allocations: 157 kB / 0.8809 GB, free: 276.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/2.938, allocations: 27.86 kB / 0.8809 GB, free: 276.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/2.938, allocations: 169.6 kB / 0.8811 GB, free: 276 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/2.938, allocations: 4 kB / 0.8811 GB, free: 276 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/2.938, allocations: 4 kB / 0.8811 GB, free: 276 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/2.938, allocations: 3.875 kB / 0.8811 GB, free: 276 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/2.938, allocations: 277.1 kB / 0.8814 GB, free: 275.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/2.938, allocations: 1.219 kB / 0.8814 GB, free: 275.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/2.938, allocations: 4 kB / 0.8814 GB, free: 275.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/2.939, allocations: 88.7 kB / 0.8815 GB, free: 275.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/2.939, allocations: 11.94 kB / 0.8815 GB, free: 275.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002911/2.939, allocations: 0.5762 MB / 0.882 GB, free: 275.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.939, allocations: 4.031 kB / 0.882 GB, free: 275.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/2.94, allocations: 173.7 kB / 0.8822 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/2.94, allocations: 46.3 kB / 0.8822 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/2.94, allocations: 3.984 kB / 0.8822 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/2.94, allocations: 0 / 0.8822 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/2.94, allocations: 4 kB / 0.8823 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/2.94, allocations: 0.8125 kB / 0.8823 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002168/2.94, allocations: 250.1 kB / 0.8825 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.94, allocations: 3.281 kB / 0.8825 GB, free: 274.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003452/2.943, allocations: 1.467 MB / 0.8839 GB, free: 273.6 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006418/2.95, allocations: 2.208 MB / 0.8861 GB, free: 271.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004357/2.95, allocations: 114.7 kB / 0.8862 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/2.95, allocations: 4 kB / 0.8862 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 9.16e-05/2.95, allocations: 34.23 kB / 0.8862 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/2.951, allocations: 69.17 kB / 0.8863 GB, free: 271.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008941/2.952, allocations: 0.5445 MB / 0.8868 GB, free: 271 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/2.952, allocations: 0.779 MB / 0.8876 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/2.952, allocations: 27.44 kB / 0.8876 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of SimCode: time 3.71e-07/2.952, allocations: 0 / 0.8876 GB, free: 270.2 MB / 0.6856 GB Notification: Performance of Templates: time 0.03467/2.987, allocations: 28.83 MB / 0.9158 GB, free: 241.9 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.75561901112087] Failed to read output from testmodel.py, exit status != 0: 3.1343466739635915 3.143942413 0.6427386079999999 Calling exit ...