Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.8108/0.8108, allocations: 111.6 MB / 131 MB, free: 5.09 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.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.025e-06/3.025e-06, allocations: 0 / 175.6 MB, free: 9.555 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.688e-05/3.99e-05, allocations: 9.062 kB / 175.7 MB, free: 9.547 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.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.822/1.822, allocations: 254.6 MB / 430.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05218/1.875, allocations: 33.15 MB / 463.4 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/1.875, allocations: 4 kB / 463.4 MB, free: 15.25 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Diaphragm.mo:20:3-21:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/Diaphragm.mo:22:3-23:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004318/1.875, allocations: 103.4 kB / 463.5 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/1.875, allocations: 123 kB / 463.6 MB, free: 15.02 MB / 426.7 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02893/1.904, allocations: 9.853 MB / 473.5 MB, free: 5.133 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007303/1.905, allocations: 374.6 kB / 473.9 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/1.905, allocations: 108.6 kB / 474 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/1.906, allocations: 227.4 kB / 474.2 MB, free: 4.438 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/1.906, allocations: 83.73 kB / 474.3 MB, free: 4.355 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/1.906, allocations: 20 kB / 474.3 MB, free: 4.336 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03548/1.941, allocations: 16.85 MB / 491.1 MB, free: 3.457 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/1.942, allocations: 47.77 kB / 491.2 MB, free: 3.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/1.942, allocations: 91.78 kB / 491.3 MB, free: 3.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2414/2.183, allocations: 10.87 MB / 0.4904 GB, free: 19.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/2.183, allocations: 3.938 kB / 0.4904 GB, free: 19.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.513e-06/2.183, allocations: 0 / 0.4904 GB, free: 19.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/2.183, allocations: 0 / 0.4904 GB, free: 19.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00755/2.191, allocations: 1.54 MB / 0.4919 GB, free: 18.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/2.191, allocations: 12.95 kB / 0.4919 GB, free: 18.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/2.191, allocations: 47.7 kB / 0.4919 GB, free: 18.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/2.191, allocations: 177.5 kB / 0.4921 GB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/2.191, allocations: 15.53 kB / 0.4921 GB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/2.191, allocations: 21.19 kB / 0.4921 GB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/2.192, allocations: 339.4 kB / 0.4925 GB, free: 18.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/2.192, allocations: 2.719 kB / 0.4925 GB, free: 18.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/2.192, allocations: 12.95 kB / 0.4925 GB, free: 18.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/2.192, allocations: 12.69 kB / 0.4925 GB, free: 18.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/2.192, allocations: 133 kB / 0.4926 GB, free: 18.51 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03583/2.228, allocations: 11.34 MB / 0.5037 GB, free: 16.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/2.228, allocations: 112.9 kB / 0.5038 GB, free: 16.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/2.228, allocations: 46.53 kB / 0.5038 GB, free: 16.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.158/2.386, allocations: 43.77 MB / 0.5466 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/2.386, allocations: 38.62 kB / 0.5466 GB, free: 14.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/2.386, allocations: 0 / 0.5466 GB, free: 14.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.001073/2.387, allocations: 271.2 kB / 0.5469 GB, free: 14.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/2.387, allocations: 80.61 kB / 0.547 GB, free: 14.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/2.388, allocations: 264.9 kB / 0.5472 GB, free: 13.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/2.388, allocations: 33.17 kB / 0.5472 GB, free: 13.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/2.388, allocations: 221.4 kB / 0.5475 GB, free: 13.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/2.388, allocations: 122.1 kB / 0.5476 GB, free: 13.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/2.388, allocations: 68.03 kB / 0.5476 GB, free: 13.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002867/2.388, allocations: 0.5148 MB / 0.5481 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/2.389, allocations: 47.55 kB / 0.5482 GB, free: 12.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/2.389, allocations: 164.6 kB / 0.5483 GB, free: 12.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/2.389, allocations: 204.5 kB / 0.5485 GB, free: 12.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/2.389, allocations: 0 / 0.5485 GB, free: 12.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005412/2.39, allocations: 262.7 kB / 0.5488 GB, free: 12.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/2.39, allocations: 11.98 kB / 0.5488 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/2.39, allocations: 0 / 0.5488 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009107/2.391, allocations: 125 kB / 0.5489 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/2.391, allocations: 21.61 kB / 0.5489 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008402/2.391, allocations: 0.8901 MB / 0.5498 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/2.392, allocations: 28.16 kB / 0.5498 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/2.392, allocations: 4 kB / 0.5498 GB, free: 11.33 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001965/2.392, allocations: 183.2 kB / 0.55 GB, free: 11.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/2.392, allocations: 21.3 kB / 0.55 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/2.393, allocations: 0.7181 MB / 0.5507 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005656/2.394, allocations: 206.2 kB / 0.5509 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/2.394, allocations: 0 / 0.5509 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/2.394, allocations: 0 / 0.5509 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/2.395, allocations: 0.6937 MB / 0.5516 GB, free: 9.707 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/2.395, allocations: 1.188 kB / 0.5516 GB, free: 9.707 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/2.395, allocations: 19.98 kB / 0.5516 GB, free: 9.688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003403/2.395, allocations: 93.73 kB / 0.5517 GB, free: 9.605 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/2.395, allocations: 5.75 kB / 0.5517 GB, free: 9.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007238/2.396, allocations: 0.8766 MB / 0.5526 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.396, allocations: 0 / 0.5526 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007113/2.397, allocations: 377.6 kB / 0.5529 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/2.397, allocations: 29.41 kB / 0.553 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/2.397, allocations: 12.52 kB / 0.553 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/2.397, allocations: 3.625 kB / 0.553 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/2.397, allocations: 11.97 kB / 0.553 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/2.397, allocations: 10.84 kB / 0.553 GB, free: 8.316 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002883/2.397, allocations: 254.1 kB / 0.5533 GB, free: 8.105 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/2.397, allocations: 0 / 0.5533 GB, free: 8.105 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005808/2.403, allocations: 1.242 MB / 0.5545 GB, free: 6.941 MB / 474.7 MB 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 (13): * Single equations (assignments): 12 * 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.01078/2.414, allocations: 1.941 MB / 0.5564 GB, free: 5.289 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009474/2.415, allocations: 219.1 kB / 0.5566 GB, free: 5.102 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/2.415, allocations: 0 / 0.5566 GB, free: 5.102 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/2.415, allocations: 97.41 kB / 0.5567 GB, free: 5.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008918/2.416, allocations: 119.8 kB / 0.5568 GB, free: 4.922 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/2.417, allocations: 0.4945 MB / 0.5573 GB, free: 4.449 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/2.418, allocations: 163.3 kB / 0.5574 GB, free: 4.273 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001282/2.418, allocations: 23.89 kB / 0.5574 GB, free: 4.254 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/2.418, allocations: 24.44 kB / 0.5575 GB, free: 4.234 MB / 474.7 MB Notification: Performance of SimCode: time 1.192e-06/2.418, allocations: 0 / 0.5575 GB, free: 4.234 MB / 474.7 MB Notification: Performance of Templates: time 0.07433/2.492, allocations: 43.51 MB / 0.6 GB, free: 9.039 MB / 0.5105 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.59992682095617]