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.8271/0.8271, allocations: 111.6 MB / 131 MB, free: 5.066 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 2.315e-06/2.315e-06, allocations: 0 / 175.7 MB, free: 9.496 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.999e-05, allocations: 9.906 kB / 175.7 MB, free: 9.488 MB / 170.7 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.616/1.616, allocations: 254.5 MB / 430.2 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4142/2.03, allocations: 167.2 MB / 0.5834 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/2.03, allocations: 7.938 kB / 0.5834 GB, free: 6.375 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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:32:3-33:80: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:27:3-28:80: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:29:3-30:78: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.0001571/2.03, allocations: 39.58 kB / 0.5834 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003727/2.031, allocations: 126.8 kB / 0.5836 GB, free: 6.211 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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:56:5-56:88: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.03484/2.065, allocations: 12.39 MB / 0.5957 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006847/2.066, allocations: 418.6 kB / 0.5961 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/2.066, allocations: 185 kB / 0.5962 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/2.067, allocations: 259.4 kB / 0.5965 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/2.067, allocations: 131.6 kB / 0.5966 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/2.067, allocations: 36 kB / 0.5967 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03946/2.107, allocations: 19.66 MB / 0.6158 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/2.107, allocations: 87.67 kB / 0.6159 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/2.107, allocations: 135.7 kB / 0.6161 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.03018/2.137, allocations: 13.04 MB / 0.6288 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/2.137, allocations: 0 / 0.6288 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.944e-06/2.137, allocations: 4 kB / 0.6288 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.856e-06/2.137, allocations: 0 / 0.6288 GB, free: 7.789 MB / 0.5417 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.005874/2.143, allocations: 1.899 MB / 0.6306 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/2.143, allocations: 15.98 kB / 0.6307 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/2.143, allocations: 75.72 kB / 0.6307 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/2.144, allocations: 267.9 kB / 0.631 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/2.144, allocations: 25 kB / 0.631 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/2.144, allocations: 35.94 kB / 0.631 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/2.144, allocations: 408.3 kB / 0.6314 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/2.145, allocations: 3.984 kB / 0.6314 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/2.145, allocations: 12 kB / 0.6315 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/2.145, allocations: 8 kB / 0.6315 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/2.145, allocations: 246.4 kB / 0.6317 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008177/2.153, allocations: 3.207 MB / 0.6348 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/2.153, allocations: 74.58 kB / 0.6349 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/2.154, allocations: 24.83 kB / 0.6349 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4623/2.616, allocations: 88.8 MB / 0.7216 GB, free: 295.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/2.616, allocations: 36 kB / 0.7217 GB, free: 295.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/2.616, allocations: 0 / 0.7217 GB, free: 295.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007234/2.617, allocations: 179.9 kB / 0.7218 GB, free: 295.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/2.617, allocations: 81.09 kB / 0.7219 GB, free: 295.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/2.617, allocations: 311.7 kB / 0.7222 GB, free: 295 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/2.617, allocations: 28.33 kB / 0.7222 GB, free: 295 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/2.617, allocations: 243.1 kB / 0.7225 GB, free: 294.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/2.617, allocations: 32.33 kB / 0.7225 GB, free: 294.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/2.617, allocations: 69.89 kB / 0.7226 GB, free: 294.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.768e-05/2.617, allocations: 330.8 kB / 0.7229 GB, free: 294.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.64e-05/2.617, allocations: 45 kB / 0.7229 GB, free: 294.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/2.617, allocations: 187.5 kB / 0.7231 GB, free: 294.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/2.618, allocations: 210 kB / 0.7233 GB, free: 293.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/2.618, allocations: 0 / 0.7233 GB, free: 293.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004595/2.618, allocations: 286.1 kB / 0.7236 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/2.618, allocations: 4.766 kB / 0.7236 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/2.618, allocations: 4 kB / 0.7236 GB, free: 293.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009197/2.619, allocations: 118 kB / 0.7237 GB, free: 293.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/2.619, allocations: 43.91 kB / 0.7238 GB, free: 293.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003467/2.619, allocations: 0.5654 MB / 0.7243 GB, free: 292.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/2.62, allocations: 34.31 kB / 0.7243 GB, free: 292.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/2.62, allocations: 12.94 kB / 0.7243 GB, free: 292.7 MB / 0.6198 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.0001269/2.62, allocations: 167.2 kB / 0.7245 GB, free: 292.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/2.62, allocations: 27.86 kB / 0.7245 GB, free: 292.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/2.62, allocations: 179.5 kB / 0.7247 GB, free: 292.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/2.62, allocations: 0 / 0.7247 GB, free: 292.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/2.62, allocations: 4 kB / 0.7247 GB, free: 292.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/2.62, allocations: 0 / 0.7247 GB, free: 292.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/2.621, allocations: 217.8 kB / 0.7249 GB, free: 292.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/2.621, allocations: 0 / 0.7249 GB, free: 292.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/2.621, allocations: 7.984 kB / 0.7249 GB, free: 292.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/2.621, allocations: 78.08 kB / 0.725 GB, free: 292 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/2.621, allocations: 7.938 kB / 0.725 GB, free: 292 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002782/2.621, allocations: 0.5679 MB / 0.7256 GB, free: 291.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/2.621, allocations: 1.312 kB / 0.7256 GB, free: 291.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/2.622, allocations: 168.4 kB / 0.7257 GB, free: 291.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/2.622, allocations: 47.03 kB / 0.7258 GB, free: 291.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/2.622, allocations: 4 kB / 0.7258 GB, free: 291.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/2.622, allocations: 4.062 kB / 0.7258 GB, free: 291.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/2.622, allocations: 11.92 kB / 0.7258 GB, free: 291.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/2.622, allocations: 4 kB / 0.7258 GB, free: 291.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001627/2.622, allocations: 207.1 kB / 0.726 GB, free: 291 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/2.622, allocations: 4 kB / 0.726 GB, free: 291 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003178/2.625, allocations: 1.638 MB / 0.7276 GB, free: 289.6 MB / 0.6198 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.005932/2.631, allocations: 2.701 MB / 0.7302 GB, free: 287.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004507/2.632, allocations: 128.2 kB / 0.7304 GB, free: 287.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/2.632, allocations: 0 / 0.7304 GB, free: 287.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/2.632, allocations: 43.8 kB / 0.7304 GB, free: 287.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/2.632, allocations: 71.2 kB / 0.7305 GB, free: 287.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/2.633, allocations: 0.4908 MB / 0.7309 GB, free: 286.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/2.633, allocations: 174.6 kB / 0.7311 GB, free: 286.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001249/2.633, allocations: 45.7 kB / 0.7311 GB, free: 286.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/2.633, allocations: 24.5 kB / 0.7312 GB, free: 286.4 MB / 0.6198 GB Notification: Performance of SimCode: time 6.32e-07/2.633, allocations: 0 / 0.7312 GB, free: 286.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.04902/2.682, allocations: 49.07 MB / 0.7791 GB, free: 237.5 MB / 0.6198 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.10468608001247]