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.8821/0.8821, allocations: 153.8 MB / 173.4 MB, free: 4.871 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.0005577/0.0005577, allocations: 11.98 kB / 251 MB, free: 3.91 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1715, allocations: 33.37 MB / 284.4 MB, free: 2.039 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.961/2.132, allocations: 307.5 MB / 0.578 GB, free: 17.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2168/2.349, allocations: 167.1 MB / 0.7412 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/2.35, allocations: 11.88 kB / 0.7412 GB, free: 13.66 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.000232/2.35, allocations: 48.56 kB / 0.7413 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005539/2.35, allocations: 119 kB / 0.7414 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.03427/2.385, allocations: 12.26 MB / 0.7533 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007044/2.385, allocations: 398.9 kB / 0.7537 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/2.386, allocations: 172.8 kB / 0.7539 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/2.386, allocations: 179.4 kB / 0.7541 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/2.386, allocations: 155.2 kB / 0.7542 GB, free: 352 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/2.386, allocations: 40 kB / 0.7543 GB, free: 312 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03792/2.424, allocations: 19.6 MB / 0.7734 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/2.424, allocations: 95.67 kB / 0.7735 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/2.424, allocations: 155.3 kB / 0.7736 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02548/2.45, allocations: 10.4 MB / 0.7838 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/2.45, allocations: 3.984 kB / 0.7838 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.655e-06/2.45, allocations: 0 / 0.7838 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.006e-05/2.45, allocations: 4 kB / 0.7838 GB, free: 1.988 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.006459/2.456, allocations: 1.899 MB / 0.7857 GB, free: 44 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/2.456, allocations: 8.031 kB / 0.7857 GB, free: 36 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/2.457, allocations: 47.91 kB / 0.7857 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/2.457, allocations: 263.2 kB / 0.786 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/2.457, allocations: 34.17 kB / 0.786 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/2.457, allocations: 31.94 kB / 0.786 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/2.458, allocations: 404.4 kB / 0.7864 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/2.458, allocations: 3.938 kB / 0.7864 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/2.458, allocations: 12 kB / 0.7864 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/2.458, allocations: 13.12 kB / 0.7864 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/2.459, allocations: 242.5 kB / 0.7867 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007789/2.466, allocations: 3.185 MB / 0.7898 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/2.467, allocations: 74.62 kB / 0.7898 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/2.467, allocations: 20.86 kB / 0.7899 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4964/2.963, allocations: 88.71 MB / 0.8765 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/2.963, allocations: 34.56 kB / 0.8765 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 2.245e-06/2.963, allocations: 0 / 0.8765 GB, free: 281.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0007108/2.964, allocations: 183.1 kB / 0.8767 GB, free: 281.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/2.964, allocations: 77.11 kB / 0.8768 GB, free: 281.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/2.964, allocations: 318.9 kB / 0.8771 GB, free: 280.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/2.964, allocations: 25.7 kB / 0.8771 GB, free: 280.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/2.964, allocations: 253 kB / 0.8773 GB, free: 280.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/2.964, allocations: 26.05 kB / 0.8774 GB, free: 280.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/2.964, allocations: 69.28 kB / 0.8774 GB, free: 280.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.271e-05/2.964, allocations: 330.6 kB / 0.8778 GB, free: 280.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.409e-05/2.964, allocations: 44.88 kB / 0.8778 GB, free: 280.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/2.965, allocations: 190.5 kB / 0.878 GB, free: 280 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/2.965, allocations: 211.3 kB / 0.8782 GB, free: 279.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.965, allocations: 4 kB / 0.8782 GB, free: 279.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004361/2.965, allocations: 278.6 kB / 0.8784 GB, free: 279.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/2.965, allocations: 8 kB / 0.8785 GB, free: 279.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/2.965, allocations: 7.938 kB / 0.8785 GB, free: 279.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008904/2.966, allocations: 107.3 kB / 0.8786 GB, free: 279.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/2.966, allocations: 51.03 kB / 0.8786 GB, free: 279.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003293/2.967, allocations: 0.5552 MB / 0.8792 GB, free: 278.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/2.967, allocations: 34.81 kB / 0.8792 GB, free: 278.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/2.967, allocations: 15.44 kB / 0.8792 GB, free: 278.9 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.0001304/2.967, allocations: 163.7 kB / 0.8794 GB, free: 278.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/2.967, allocations: 27.81 kB / 0.8794 GB, free: 278.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/2.968, allocations: 171 kB / 0.8796 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/2.968, allocations: 0 / 0.8796 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/2.968, allocations: 4 kB / 0.8796 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/2.968, allocations: 3.281 kB / 0.8796 GB, free: 278.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/2.968, allocations: 231.1 kB / 0.8798 GB, free: 278.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/2.968, allocations: 0 / 0.8798 GB, free: 278.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/2.968, allocations: 7.984 kB / 0.8798 GB, free: 278.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/2.968, allocations: 75.66 kB / 0.8799 GB, free: 278.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/2.968, allocations: 0 / 0.8799 GB, free: 278.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002853/2.969, allocations: 0.5699 MB / 0.8804 GB, free: 277.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.969, allocations: 3.938 kB / 0.8804 GB, free: 277.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/2.969, allocations: 166.1 kB / 0.8806 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/2.969, allocations: 49.61 kB / 0.8806 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/2.969, allocations: 0 / 0.8806 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/2.969, allocations: 7.922 kB / 0.8806 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/2.969, allocations: 7.438 kB / 0.8806 GB, free: 277.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/2.969, allocations: 4 kB / 0.8806 GB, free: 277.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001674/2.969, allocations: 204.4 kB / 0.8808 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/2.969, allocations: 8.938 kB / 0.8808 GB, free: 277.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003292/2.973, allocations: 1.636 MB / 0.8824 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.006016/2.979, allocations: 2.481 MB / 0.8849 GB, free: 274 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004822/2.979, allocations: 121.5 kB / 0.885 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/2.979, allocations: 0.9375 kB / 0.885 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/2.979, allocations: 44.06 kB / 0.885 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.0003946/2.98, allocations: 67.41 kB / 0.8851 GB, free: 273.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/2.98, allocations: 0.5397 MB / 0.8856 GB, free: 273.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/2.981, allocations: 173.1 kB / 0.8858 GB, free: 273.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/2.981, allocations: 27.44 kB / 0.8858 GB, free: 273.1 MB / 0.6856 GB Notification: Performance of SimCode: time 5.82e-07/2.981, allocations: 0 / 0.8858 GB, free: 273.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.03581/3.016, allocations: 31.27 MB / 0.9163 GB, free: 242.5 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: 12.74606620380655] Failed to read output from testmodel.py, exit status != 0: 3.1583005250431597 3.167013207 0.7147663479999999 Calling exit ...