Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.9233/0.9233, allocations: 153.8 MB / 172.7 MB, free: 4.832 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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005752/0.0005752, allocations: 15.97 kB / 250.3 MB, free: 3.902 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1615, allocations: 33.35 MB / 283.6 MB, free: 2.066 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.TestDiaphragm): time 1.914/2.075, allocations: 307.5 MB / 0.5773 GB, free: 17.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2102/2.285, allocations: 167.1 MB / 0.7405 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/2.286, allocations: 11.88 kB / 0.7405 GB, free: 13.67 MB / 0.6075 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/Diaphragm.mo:34:3-35: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/Diaphragm.mo:36:3-37: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.0001824/2.286, allocations: 47.58 kB / 0.7405 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004268/2.286, allocations: 119 kB / 0.7406 GB, free: 13.5 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.03351/2.32, allocations: 12.25 MB / 0.7526 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006669/2.32, allocations: 412.7 kB / 0.753 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/2.321, allocations: 168.9 kB / 0.7532 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/2.321, allocations: 183.3 kB / 0.7533 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/2.321, allocations: 151.2 kB / 0.7535 GB, free: 356 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.244e-05/2.321, allocations: 36 kB / 0.7535 GB, free: 320 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03932/2.361, allocations: 19.61 MB / 0.7727 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/2.361, allocations: 91.69 kB / 0.7728 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/2.361, allocations: 163.3 kB / 0.7729 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02378/2.385, allocations: 10.4 MB / 0.7831 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/2.385, allocations: 0 / 0.7831 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.034e-06/2.385, allocations: 0 / 0.7831 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.592e-05/2.385, allocations: 0 / 0.7831 GB, free: 1.996 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.005435/2.39, allocations: 1.899 MB / 0.7849 GB, free: 56 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/2.39, allocations: 8.031 kB / 0.7849 GB, free: 48 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/2.391, allocations: 47.72 kB / 0.785 GB, free: 0 / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/2.391, allocations: 263.4 kB / 0.7852 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/2.391, allocations: 31.42 kB / 0.7853 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/2.391, allocations: 38.5 kB / 0.7853 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/2.392, allocations: 404.3 kB / 0.7857 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/2.392, allocations: 3.938 kB / 0.7857 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/2.392, allocations: 16 kB / 0.7857 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/2.392, allocations: 12 kB / 0.7857 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/2.393, allocations: 242.5 kB / 0.7859 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008208/2.401, allocations: 3.189 MB / 0.7891 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/2.401, allocations: 74.62 kB / 0.7891 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/2.401, allocations: 20.86 kB / 0.7891 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4845/2.886, allocations: 88.7 MB / 0.8758 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/2.886, allocations: 30.56 kB / 0.8758 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/2.886, allocations: 0 / 0.8758 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0006621/2.886, allocations: 189.2 kB / 0.876 GB, free: 281.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/2.886, allocations: 85.09 kB / 0.8761 GB, free: 281.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/2.887, allocations: 312.2 kB / 0.8764 GB, free: 280.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/2.887, allocations: 25.7 kB / 0.8764 GB, free: 280.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/2.887, allocations: 243.2 kB / 0.8766 GB, free: 280.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/2.887, allocations: 29.86 kB / 0.8766 GB, free: 280.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/2.887, allocations: 70.12 kB / 0.8767 GB, free: 280.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/2.887, allocations: 337.9 kB / 0.877 GB, free: 280.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/2.887, allocations: 47.45 kB / 0.8771 GB, free: 280.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/2.887, allocations: 186.4 kB / 0.8773 GB, free: 280 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/2.887, allocations: 210.1 kB / 0.8775 GB, free: 279.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/2.887, allocations: 0 / 0.8775 GB, free: 279.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004197/2.888, allocations: 275.8 kB / 0.8777 GB, free: 279.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/2.888, allocations: 8 kB / 0.8777 GB, free: 279.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/2.888, allocations: 7.938 kB / 0.8777 GB, free: 279.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008685/2.889, allocations: 120.2 kB / 0.8778 GB, free: 279.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/2.889, allocations: 39.92 kB / 0.8779 GB, free: 279.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003114/2.889, allocations: 0.5654 MB / 0.8784 GB, free: 278.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/2.889, allocations: 34.09 kB / 0.8785 GB, free: 278.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/2.889, allocations: 8 kB / 0.8785 GB, free: 278.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 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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.000131/2.889, allocations: 164.8 kB / 0.8786 GB, free: 278.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/2.889, allocations: 27.92 kB / 0.8787 GB, free: 278.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/2.89, allocations: 169.3 kB / 0.8788 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/2.89, allocations: 4 kB / 0.8788 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/2.89, allocations: 0 / 0.8788 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/2.89, allocations: 0 / 0.8788 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/2.89, allocations: 230.6 kB / 0.879 GB, free: 278.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/2.89, allocations: 0 / 0.879 GB, free: 278.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/2.89, allocations: 8 kB / 0.8791 GB, free: 278.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/2.891, allocations: 78.44 kB / 0.8791 GB, free: 278.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/2.891, allocations: 0 / 0.8791 GB, free: 278.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002726/2.891, allocations: 0.569 MB / 0.8797 GB, free: 277.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/2.891, allocations: 3.938 kB / 0.8797 GB, free: 277.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/2.891, allocations: 164.3 kB / 0.8798 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/2.891, allocations: 39.2 kB / 0.8799 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/2.891, allocations: 4 kB / 0.8799 GB, free: 277.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/2.892, allocations: 7.922 kB / 0.8799 GB, free: 277.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/2.892, allocations: 11.61 kB / 0.8799 GB, free: 277.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/2.892, allocations: 4.062 kB / 0.8799 GB, free: 277.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001638/2.892, allocations: 210.8 kB / 0.8801 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/2.892, allocations: 0.7656 kB / 0.8801 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00298/2.895, allocations: 1.643 MB / 0.8817 GB, free: 276 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 (4): * Single equations (assignments): 3 * 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.005116/2.9, allocations: 2.479 MB / 0.8841 GB, free: 274 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004062/2.9, allocations: 129.2 kB / 0.8843 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/2.9, allocations: 0 / 0.8843 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/2.9, allocations: 42.94 kB / 0.8843 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/2.901, allocations: 62.33 kB / 0.8844 GB, free: 273.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/2.901, allocations: 0.508 MB / 0.8849 GB, free: 273.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/2.901, allocations: 169.4 kB / 0.885 GB, free: 273.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001193/2.902, allocations: 38.36 kB / 0.8851 GB, free: 273.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/2.902, allocations: 23.44 kB / 0.8851 GB, free: 273.1 MB / 0.6856 GB Notification: Performance of SimCode: time 4e-07/2.902, allocations: 3.938 kB / 0.8851 GB, free: 273.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.04613/2.948, allocations: 48.89 MB / 0.9328 GB, free: 224.9 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.347442938014865] Failed to read output from testmodel.py, exit status != 0: 3.0769518483430147 3.085804307 0.6985335290000001 Calling exit ...