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.4683/0.4683, allocations: 111.6 MB / 131.4 MB, free: 4.957 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.184e-06/2.184e-06, allocations: 0 / 176.5 MB, free: 9.039 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.624e-05, allocations: 6.25 kB / 176.5 MB, free: 9.031 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 0.9843/0.9843, allocations: 257.1 MB / 433.5 MB, free: 264 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3014/1.286, allocations: 180.8 MB / 0.5999 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/1.286, allocations: 7.938 kB / 0.5999 GB, free: 1.254 MB / 0.5105 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.0001013/1.286, allocations: 39.53 kB / 0.5999 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002644/1.286, allocations: 130.9 kB / 0.6001 GB, free: 1.086 MB / 0.5105 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.02122/1.307, allocations: 12.41 MB / 0.6122 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/1.308, allocations: 414.6 kB / 0.6126 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/1.308, allocations: 181.1 kB / 0.6128 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/1.308, allocations: 267.4 kB / 0.613 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/1.309, allocations: 119.7 kB / 0.6131 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/1.309, allocations: 32 kB / 0.6132 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02375/1.332, allocations: 19.67 MB / 0.6324 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/1.332, allocations: 99.66 kB / 0.6325 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/1.333, allocations: 123.7 kB / 0.6326 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01819/1.351, allocations: 12.9 MB / 0.6452 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.351, allocations: 3.984 kB / 0.6452 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/1.351, allocations: 0 / 0.6452 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.44e-06/1.351, allocations: 3.938 kB / 0.6452 GB, free: 2.785 MB / 0.5573 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.003393/1.354, allocations: 1.995 MB / 0.6471 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/1.354, allocations: 11.98 kB / 0.6471 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/1.354, allocations: 79.66 kB / 0.6472 GB, free: 0.6523 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/1.355, allocations: 278.8 kB / 0.6475 GB, free: 360 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/1.355, allocations: 25 kB / 0.6475 GB, free: 336 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/1.355, allocations: 35.94 kB / 0.6475 GB, free: 300 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/1.355, allocations: 351.6 kB / 0.6479 GB, free: 15.9 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/1.355, allocations: 0.9375 kB / 0.6479 GB, free: 15.9 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/1.355, allocations: 20 kB / 0.6479 GB, free: 15.88 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.355, allocations: 8 kB / 0.6479 GB, free: 15.87 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/1.355, allocations: 127 kB / 0.648 GB, free: 15.75 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/1.359, allocations: 3.378 MB / 0.6513 GB, free: 12.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/1.359, allocations: 59.11 kB / 0.6514 GB, free: 12.25 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/1.359, allocations: 23.69 kB / 0.6514 GB, free: 12.22 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3113/1.67, allocations: 77.7 MB / 0.7273 GB, free: 95.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/1.67, allocations: 38.23 kB / 0.7273 GB, free: 95.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/1.67, allocations: 0 / 0.7273 GB, free: 95.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004921/1.671, allocations: 195.7 kB / 0.7275 GB, free: 95.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/1.671, allocations: 82.75 kB / 0.7276 GB, free: 95.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/1.671, allocations: 342.8 kB / 0.7279 GB, free: 95.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/1.671, allocations: 27.06 kB / 0.7279 GB, free: 95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.887e-05/1.671, allocations: 290.4 kB / 0.7282 GB, free: 94.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/1.671, allocations: 28.2 kB / 0.7282 GB, free: 94.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/1.671, allocations: 73.12 kB / 0.7283 GB, free: 94.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/1.671, allocations: 0.5066 MB / 0.7288 GB, free: 94.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/1.671, allocations: 21.91 kB / 0.7288 GB, free: 94.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/1.671, allocations: 210 kB / 0.729 GB, free: 94.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/1.671, allocations: 217.5 kB / 0.7292 GB, free: 93.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.671, allocations: 2.625 kB / 0.7292 GB, free: 93.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002742/1.672, allocations: 270.1 kB / 0.7295 GB, free: 93.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.672, allocations: 5.469 kB / 0.7295 GB, free: 93.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.672, allocations: 7.281 kB / 0.7295 GB, free: 93.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/1.672, allocations: 75.16 kB / 0.7296 GB, free: 93.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/1.672, allocations: 47.2 kB / 0.7296 GB, free: 93.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000206/1.672, allocations: 0.8222 MB / 0.7304 GB, free: 92.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/1.672, allocations: 33.38 kB / 0.7305 GB, free: 92.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/1.672, allocations: 12.06 kB / 0.7305 GB, free: 92.97 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 (Diaphragm.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,SourceP1.C.ftype,Diaphragm.fluid,PuitsP1.fluid) * 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 7.56e-05/1.673, allocations: 173.4 kB / 0.7306 GB, free: 92.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/1.673, allocations: 23.67 kB / 0.7307 GB, free: 92.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/1.673, allocations: 173.1 kB / 0.7308 GB, free: 92.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.673, allocations: 2.25 kB / 0.7308 GB, free: 92.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/1.673, allocations: 4 kB / 0.7308 GB, free: 92.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.673, allocations: 3.188 kB / 0.7308 GB, free: 92.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/1.673, allocations: 178.6 kB / 0.731 GB, free: 92.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.673, allocations: 0 / 0.731 GB, free: 92.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/1.673, allocations: 10.73 kB / 0.731 GB, free: 92.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/1.673, allocations: 53.39 kB / 0.7311 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/1.673, allocations: 5.953 kB / 0.7311 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001589/1.673, allocations: 0.8155 MB / 0.7319 GB, free: 91.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.673, allocations: 0 / 0.7319 GB, free: 91.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/1.674, allocations: 179.9 kB / 0.732 GB, free: 91.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/1.674, allocations: 37.08 kB / 0.7321 GB, free: 91.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/1.674, allocations: 3.125 kB / 0.7321 GB, free: 91.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/1.674, allocations: 3.25 kB / 0.7321 GB, free: 91.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/1.674, allocations: 9.062 kB / 0.7321 GB, free: 91.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/1.674, allocations: 7.031 kB / 0.7321 GB, free: 91.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.948e-05/1.674, allocations: 217.1 kB / 0.7323 GB, free: 91.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.674, allocations: 0 / 0.7323 GB, free: 91.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002406/1.676, allocations: 1.635 MB / 0.7339 GB, free: 91.55 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.003994/1.68, allocations: 2.8 MB / 0.7366 GB, free: 91.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000205/1.68, allocations: 109 kB / 0.7367 GB, free: 91.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.68, allocations: 0 / 0.7367 GB, free: 91.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.026e-05/1.68, allocations: 42.19 kB / 0.7368 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/1.681, allocations: 72.33 kB / 0.7368 GB, free: 91.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/1.681, allocations: 499.7 kB / 0.7373 GB, free: 90.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.152e-05/1.681, allocations: 92.84 kB / 0.7374 GB, free: 90.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.919e-05/1.681, allocations: 46.02 kB / 0.7374 GB, free: 90.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/1.682, allocations: 117.4 kB / 0.7376 GB, free: 90.75 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/1.682, allocations: 0 / 0.7376 GB, free: 90.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.04241/1.724, allocations: 58.5 MB / 0.7947 GB, free: 51.74 MB / 0.6198 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.299055167939514]