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.5043/0.5043, allocations: 111.6 MB / 132.2 MB, free: 4.434 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.345e-06/2.345e-06, allocations: 3.938 kB / 177.2 MB, free: 9.016 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.897e-05, allocations: 6.312 kB / 177.2 MB, free: 9.008 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.122/1.122, allocations: 256.9 MB / 434.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02688/1.149, allocations: 32.69 MB / 466.9 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/1.149, allocations: 4 kB / 466.9 MB, free: 15.16 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.0003926/1.149, allocations: 111.3 kB / 467 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/1.149, allocations: 119.1 kB / 467.1 MB, free: 14.93 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.01907/1.169, allocations: 9.865 MB / 477 MB, free: 5.023 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/1.169, allocations: 370.7 kB / 477.3 MB, free: 4.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/1.169, allocations: 104.8 kB / 477.4 MB, free: 4.555 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/1.169, allocations: 235.2 kB / 477.6 MB, free: 4.324 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/1.17, allocations: 79.73 kB / 477.7 MB, free: 4.246 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/1.17, allocations: 16 kB / 477.7 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2364/1.406, allocations: 16.84 MB / 494.6 MB, free: 9.234 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/1.406, allocations: 46.53 kB / 494.6 MB, free: 9.234 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/1.406, allocations: 87.86 kB / 494.7 MB, free: 9.234 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02174/1.428, allocations: 10.81 MB / 0.4937 GB, free: 5.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/1.428, allocations: 0 / 0.4937 GB, free: 5.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.263e-06/1.428, allocations: 0 / 0.4937 GB, free: 5.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/1.428, allocations: 3.938 kB / 0.4937 GB, free: 5.766 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.005257/1.433, allocations: 1.524 MB / 0.4952 GB, free: 4.684 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.433, allocations: 10.98 kB / 0.4952 GB, free: 4.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.953e-05/1.433, allocations: 50.27 kB / 0.4952 GB, free: 4.652 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/1.434, allocations: 187.5 kB / 0.4954 GB, free: 4.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.434, allocations: 16.59 kB / 0.4954 GB, free: 4.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/1.434, allocations: 18.84 kB / 0.4954 GB, free: 4.469 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/1.434, allocations: 295 kB / 0.4957 GB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.434, allocations: 3.562 kB / 0.4957 GB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/1.434, allocations: 10.5 kB / 0.4957 GB, free: 4.219 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/1.434, allocations: 9.875 kB / 0.4957 GB, free: 4.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/1.434, allocations: 80.66 kB / 0.4958 GB, free: 4.199 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.01576/1.45, allocations: 9.791 MB / 0.5054 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/1.45, allocations: 90.98 kB / 0.5055 GB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/1.45, allocations: 27.69 kB / 0.5055 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06881/1.519, allocations: 37.91 MB / 0.5425 GB, free: 8.098 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/1.519, allocations: 37.39 kB / 0.5425 GB, free: 8.051 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/1.519, allocations: 0 / 0.5425 GB, free: 8.051 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005364/1.519, allocations: 223 kB / 0.5428 GB, free: 7.828 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/1.519, allocations: 81.11 kB / 0.5428 GB, free: 7.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/1.52, allocations: 233.2 kB / 0.5431 GB, free: 7.504 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/1.52, allocations: 29.7 kB / 0.5431 GB, free: 7.469 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/1.52, allocations: 206.3 kB / 0.5433 GB, free: 7.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/1.52, allocations: 117.2 kB / 0.5434 GB, free: 7.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/1.52, allocations: 63.47 kB / 0.5435 GB, free: 7.098 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/1.52, allocations: 0.5094 MB / 0.544 GB, free: 6.586 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/1.52, allocations: 24.61 kB / 0.544 GB, free: 6.562 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-05/1.52, allocations: 134.2 kB / 0.5441 GB, free: 6.406 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/1.52, allocations: 168.4 kB / 0.5443 GB, free: 6.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.52, allocations: 0 / 0.5443 GB, free: 6.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002253/1.521, allocations: 202.5 kB / 0.5445 GB, free: 6.031 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.521, allocations: 8 kB / 0.5445 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.521, allocations: 4.781 kB / 0.5445 GB, free: 6.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/1.521, allocations: 90.7 kB / 0.5446 GB, free: 5.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/1.521, allocations: 23.08 kB / 0.5446 GB, free: 5.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003944/1.521, allocations: 0.8507 MB / 0.5454 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.223e-05/1.521, allocations: 31.81 kB / 0.5454 GB, free: 5.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/1.521, allocations: 4.938 kB / 0.5454 GB, free: 5 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 (SourceP1.C.b,PuitsP1.C.a,Diaphragm.C1.a,Diaphragm.C2.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 9.601e-05/1.522, allocations: 168 kB / 0.5456 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/1.522, allocations: 19.86 kB / 0.5456 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/1.522, allocations: 0.6351 MB / 0.5462 GB, free: 4.168 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002117/1.522, allocations: 163.4 kB / 0.5464 GB, free: 4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/1.522, allocations: 0 / 0.5464 GB, free: 4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.522, allocations: 5.172 kB / 0.5464 GB, free: 3.996 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/1.523, allocations: 0.5633 MB / 0.547 GB, free: 3.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.523, allocations: 0 / 0.547 GB, free: 3.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/1.523, allocations: 19.98 kB / 0.547 GB, free: 3.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001716/1.523, allocations: 81.06 kB / 0.5471 GB, free: 3.332 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/1.523, allocations: 4 kB / 0.5471 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003475/1.524, allocations: 0.8529 MB / 0.5479 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.524, allocations: 0.9375 kB / 0.5479 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/1.524, allocations: 347.6 kB / 0.5482 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/1.524, allocations: 23.83 kB / 0.5482 GB, free: 2.078 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/1.524, allocations: 11.95 kB / 0.5483 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/1.524, allocations: 4 kB / 0.5483 GB, free: 2.062 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/1.524, allocations: 11.97 kB / 0.5483 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/1.524, allocations: 4.938 kB / 0.5483 GB, free: 2.047 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.916e-05/1.524, allocations: 209.4 kB / 0.5485 GB, free: 1.852 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/1.524, allocations: 0 / 0.5485 GB, free: 1.852 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003355/1.527, allocations: 1.239 MB / 0.5497 GB, free: 0.6094 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.005343/1.533, allocations: 2.034 MB / 0.5517 GB, free: 14.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004018/1.533, allocations: 191.2 kB / 0.5519 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.533, allocations: 0 / 0.5519 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/1.533, allocations: 70.06 kB / 0.5519 GB, free: 14.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/1.534, allocations: 131.3 kB / 0.552 GB, free: 14.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008928/1.535, allocations: 490.9 kB / 0.5525 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/1.535, allocations: 93.48 kB / 0.5526 GB, free: 13.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.543e-05/1.535, allocations: 23.73 kB / 0.5526 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/1.535, allocations: 146.1 kB / 0.5528 GB, free: 13.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/1.535, allocations: 0 / 0.5528 GB, free: 13.68 MB / 490.7 MB Notification: Performance of Templates: time 0.05282/1.588, allocations: 50.43 MB / 0.602 GB, free: 11.56 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: 6.331953773740679]