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.9422/0.9422, allocations: 153.8 MB / 173.4 MB, free: 4.941 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.0005443/0.0005443, allocations: 23.95 kB / 251.1 MB, free: 3.977 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 33.36 MB / 284.4 MB, free: 2.141 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 2.004/2.218, allocations: 307.5 MB / 0.578 GB, free: 16.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2319/2.45, allocations: 193.7 MB / 0.7672 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/2.451, allocations: 11.88 kB / 0.7672 GB, free: 3.391 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/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.0001864/2.451, allocations: 40.72 kB / 0.7672 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004473/2.451, allocations: 127 kB / 0.7673 GB, free: 3.227 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.0333/2.485, allocations: 12.45 MB / 0.7795 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0007283/2.485, allocations: 406.8 kB / 0.7799 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/2.486, allocations: 178.3 kB / 0.78 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/2.486, allocations: 171.4 kB / 0.7802 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/2.486, allocations: 175.2 kB / 0.7804 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/2.486, allocations: 41.62 kB / 0.7804 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04216/2.529, allocations: 21.14 MB / 0.8011 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/2.529, allocations: 91.69 kB / 0.8011 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002605/2.529, allocations: 206.9 kB / 0.8013 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02476/2.554, allocations: 10.41 MB / 0.8115 GB, free: 5.926 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/2.554, allocations: 2.062 kB / 0.8115 GB, free: 5.926 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/2.554, allocations: 0 / 0.8115 GB, free: 5.926 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.958e-05/2.554, allocations: 0 / 0.8115 GB, free: 5.926 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.005135/2.559, allocations: 1.915 MB / 0.8134 GB, free: 3.969 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/2.559, allocations: 12.03 kB / 0.8134 GB, free: 3.957 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/2.559, allocations: 47.72 kB / 0.8134 GB, free: 3.91 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/2.56, allocations: 259.4 kB / 0.8137 GB, free: 3.633 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/2.56, allocations: 25 kB / 0.8137 GB, free: 3.609 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/2.56, allocations: 36 kB / 0.8137 GB, free: 3.574 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/2.56, allocations: 382.6 kB / 0.8141 GB, free: 3.172 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/2.56, allocations: 0 / 0.8141 GB, free: 3.172 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/2.56, allocations: 16 kB / 0.8141 GB, free: 3.156 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/2.56, allocations: 12 kB / 0.8141 GB, free: 3.145 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/2.561, allocations: 246.4 kB / 0.8144 GB, free: 2.906 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008307/2.569, allocations: 3.835 MB / 0.8181 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/2.569, allocations: 78.56 kB / 0.8182 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/2.569, allocations: 22.41 kB / 0.8182 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.469/3.038, allocations: 88.37 MB / 0.9045 GB, free: 252.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/3.039, allocations: 32.94 kB / 0.9045 GB, free: 252.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 2.865e-06/3.039, allocations: 4 kB / 0.9045 GB, free: 252.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7): time 0.0009221/3.039, allocations: 187.4 kB / 0.9047 GB, free: 251.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/3.039, allocations: 77.11 kB / 0.9048 GB, free: 251.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/3.04, allocations: 345.9 kB / 0.9051 GB, free: 251.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/3.04, allocations: 25.7 kB / 0.9051 GB, free: 251.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/3.04, allocations: 235.9 kB / 0.9054 GB, free: 251.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/3.04, allocations: 34.89 kB / 0.9054 GB, free: 251.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/3.04, allocations: 69.83 kB / 0.9055 GB, free: 251.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.821e-05/3.04, allocations: 330.8 kB / 0.9058 GB, free: 250.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/3.04, allocations: 52.44 kB / 0.9058 GB, free: 250.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/3.04, allocations: 164.9 kB / 0.906 GB, free: 250.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/3.041, allocations: 208.1 kB / 0.9062 GB, free: 250.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/3.041, allocations: 0 / 0.9062 GB, free: 250.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005189/3.041, allocations: 282 kB / 0.9065 GB, free: 250.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/3.041, allocations: 11.94 kB / 0.9065 GB, free: 250.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/3.041, allocations: 4 kB / 0.9065 GB, free: 250.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009116/3.042, allocations: 113 kB / 0.9066 GB, free: 249.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/3.042, allocations: 43.27 kB / 0.9066 GB, free: 249.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004006/3.043, allocations: 0.5699 MB / 0.9072 GB, free: 249.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/3.043, allocations: 34.64 kB / 0.9072 GB, free: 249.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/3.043, allocations: 12 kB / 0.9072 GB, free: 249.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 (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.0001562/3.043, allocations: 159.6 kB / 0.9074 GB, free: 249.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/3.043, allocations: 27.81 kB / 0.9074 GB, free: 249.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000537/3.044, allocations: 186.2 kB / 0.9076 GB, free: 248.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/3.044, allocations: 3.938 kB / 0.9076 GB, free: 248.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/3.044, allocations: 0 / 0.9076 GB, free: 248.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/3.044, allocations: 3.281 kB / 0.9076 GB, free: 248.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/3.044, allocations: 291 kB / 0.9079 GB, free: 248.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/3.044, allocations: 0 / 0.9079 GB, free: 248.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/3.044, allocations: 4 kB / 0.9079 GB, free: 248.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/3.045, allocations: 91.88 kB / 0.908 GB, free: 248.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/3.045, allocations: 4 kB / 0.908 GB, free: 248.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003186/3.045, allocations: 0.5601 MB / 0.9085 GB, free: 247.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/3.045, allocations: 4.062 kB / 0.9085 GB, free: 247.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/3.045, allocations: 179.9 kB / 0.9087 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/3.045, allocations: 50.41 kB / 0.9087 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/3.045, allocations: 0 / 0.9087 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/3.046, allocations: 0 / 0.9087 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/3.046, allocations: 7.984 kB / 0.9087 GB, free: 247.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/3.046, allocations: 12 kB / 0.9088 GB, free: 247.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002214/3.046, allocations: 247.2 kB / 0.909 GB, free: 247.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/3.046, allocations: 0 / 0.909 GB, free: 247.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004905/3.051, allocations: 1.63 MB / 0.9106 GB, free: 246 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.008047/3.059, allocations: 2.478 MB / 0.913 GB, free: 243.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004959/3.059, allocations: 128.2 kB / 0.9131 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/3.059, allocations: 0 / 0.9131 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/3.059, allocations: 43.91 kB / 0.9132 GB, free: 243.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/3.06, allocations: 79.42 kB / 0.9132 GB, free: 243.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009235/3.061, allocations: 0.538 MB / 0.9138 GB, free: 243.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/3.061, allocations: 0.7779 MB / 0.9145 GB, free: 242.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/3.061, allocations: 31.44 kB / 0.9146 GB, free: 242.3 MB / 0.6856 GB Notification: Performance of SimCode: time 3.6e-07/3.061, allocations: 0 / 0.9146 GB, free: 242.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.0393/3.1, allocations: 31.34 MB / 0.9452 GB, free: 211.6 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.933554369024932] Failed to read output from testmodel.py, exit status != 0: 3.2600261091720313 3.269998851 0.713667345 Calling exit ...