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.5427/0.5427, allocations: 111.6 MB / 131.7 MB, free: 5.055 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 2.284e-06/2.284e-06, allocations: 0 / 176.4 MB, free: 9.512 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.614e-05, allocations: 5.703 kB / 176.4 MB, free: 9.508 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.097/1.097, allocations: 256.9 MB / 433.3 MB, free: 464 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02825/1.125, allocations: 33.19 MB / 466.5 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/1.126, allocations: 4 kB / 466.5 MB, free: 15.13 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.0003249/1.126, allocations: 111.3 kB / 466.6 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/1.126, allocations: 115.1 kB / 466.7 MB, free: 14.91 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.01845/1.145, allocations: 9.857 MB / 476.6 MB, free: 5.008 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004877/1.145, allocations: 362.8 kB / 476.9 MB, free: 4.652 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/1.145, allocations: 108.7 kB / 477 MB, free: 4.543 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/1.146, allocations: 227.4 kB / 477.3 MB, free: 4.32 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/1.146, allocations: 87.72 kB / 477.4 MB, free: 4.234 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/1.146, allocations: 16 kB / 477.4 MB, free: 4.219 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2192/1.365, allocations: 16.85 MB / 494.2 MB, free: 8.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/1.365, allocations: 47.77 kB / 494.3 MB, free: 8.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/1.365, allocations: 88.11 kB / 494.3 MB, free: 8.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02012/1.385, allocations: 10.8 MB / 0.4933 GB, free: 5.395 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.385, allocations: 0 / 0.4933 GB, free: 5.395 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.385, allocations: 4.609 kB / 0.4933 GB, free: 5.391 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/1.385, allocations: 3.5 kB / 0.4933 GB, free: 5.391 MB / 426.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.003945/1.389, allocations: 1.517 MB / 0.4948 GB, free: 4.297 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.389, allocations: 13.36 kB / 0.4948 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/1.389, allocations: 48.61 kB / 0.4949 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/1.389, allocations: 183 kB / 0.495 GB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/1.39, allocations: 15.22 kB / 0.495 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/1.39, allocations: 19.44 kB / 0.4951 GB, free: 4.082 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/1.39, allocations: 308 kB / 0.4954 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.39, allocations: 3.844 kB / 0.4954 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/1.39, allocations: 11.12 kB / 0.4954 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/1.39, allocations: 12.64 kB / 0.4954 GB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/1.39, allocations: 102.3 kB / 0.4955 GB, free: 3.785 MB / 426.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.01887/1.409, allocations: 11.26 MB / 0.5065 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/1.409, allocations: 91.09 kB / 0.5066 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/1.409, allocations: 47.33 kB / 0.5066 GB, free: 12.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07782/1.487, allocations: 43.77 MB / 0.5494 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/1.487, allocations: 37.39 kB / 0.5494 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.775e-06/1.487, allocations: 3.938 kB / 0.5494 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006346/1.488, allocations: 240.8 kB / 0.5496 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.488, allocations: 81.11 kB / 0.5497 GB, free: 404 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/1.488, allocations: 225.8 kB / 0.5499 GB, free: 160 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/1.488, allocations: 25.7 kB / 0.5499 GB, free: 128 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/1.488, allocations: 215.2 kB / 0.5501 GB, free: 15.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/1.488, allocations: 122 kB / 0.5503 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/1.488, allocations: 63.34 kB / 0.5503 GB, free: 15.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/1.488, allocations: 0.5078 MB / 0.5508 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/1.488, allocations: 35.98 kB / 0.5509 GB, free: 15.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/1.488, allocations: 135.5 kB / 0.551 GB, free: 15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/1.489, allocations: 173.5 kB / 0.5511 GB, free: 14.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.489, allocations: 4 kB / 0.5512 GB, free: 14.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000278/1.489, allocations: 220.6 kB / 0.5514 GB, free: 14.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.489, allocations: 8 kB / 0.5514 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.489, allocations: 3.984 kB / 0.5514 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/1.489, allocations: 117.4 kB / 0.5515 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.128e-05/1.49, allocations: 15.94 kB / 0.5515 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004237/1.49, allocations: 0.8577 MB / 0.5523 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/1.49, allocations: 27.78 kB / 0.5524 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/1.49, allocations: 4 kB / 0.5524 GB, free: 13.54 MB / 490.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.0001016/1.49, allocations: 168.2 kB / 0.5525 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/1.49, allocations: 23.86 kB / 0.5526 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000643/1.491, allocations: 0.6266 MB / 0.5532 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002494/1.491, allocations: 183.4 kB / 0.5533 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.491, allocations: 0 / 0.5533 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.491, allocations: 0.875 kB / 0.5533 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/1.492, allocations: 0.6229 MB / 0.5539 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.492, allocations: 2.109 kB / 0.5539 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/1.492, allocations: 27.08 kB / 0.554 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/1.492, allocations: 83.58 kB / 0.5541 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.492, allocations: 7.938 kB / 0.5541 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000352/1.492, allocations: 0.8598 MB / 0.5549 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.492, allocations: 4 kB / 0.5549 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/1.493, allocations: 346 kB / 0.5552 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/1.493, allocations: 27.83 kB / 0.5553 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/1.493, allocations: 11.89 kB / 0.5553 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/1.493, allocations: 4.5 kB / 0.5553 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/1.493, allocations: 19.52 kB / 0.5553 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/1.493, allocations: 7.984 kB / 0.5553 GB, free: 10.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001377/1.493, allocations: 221.1 kB / 0.5555 GB, free: 10.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.493, allocations: 0 / 0.5555 GB, free: 10.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002936/1.496, allocations: 1.243 MB / 0.5567 GB, free: 8.879 MB / 490.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.004072/1.5, allocations: 1.94 MB / 0.5586 GB, free: 7.172 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004833/1.501, allocations: 202.2 kB / 0.5588 GB, free: 6.969 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.501, allocations: 4 kB / 0.5588 GB, free: 6.965 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/1.501, allocations: 77.94 kB / 0.5589 GB, free: 6.891 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/1.501, allocations: 125.7 kB / 0.559 GB, free: 6.777 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.502, allocations: 0.4935 MB / 0.5595 GB, free: 6.262 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.608e-05/1.502, allocations: 89.48 kB / 0.5596 GB, free: 6.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.885e-05/1.502, allocations: 24.69 kB / 0.5596 GB, free: 6.141 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/1.502, allocations: 20.5 kB / 0.5596 GB, free: 6.117 MB / 490.7 MB Notification: Performance of SimCode: time 1.603e-06/1.502, allocations: 0 / 0.5596 GB, free: 6.117 MB / 490.7 MB Notification: Performance of Templates: time 0.03907/1.541, allocations: 43.51 MB / 0.6021 GB, free: 10.91 MB / 0.5261 GB " [Timeout remaining time 658] 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: 5.365116891916841]