Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.7887/0.7887, allocations: 111.6 MB / 131 MB, free: 5.078 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.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 175.7 MB, free: 9.441 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.382e-05, allocations: 2.312 kB / 175.7 MB, free: 9.438 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.SimpleExamples.TestDiaphragm): time 1.654/1.654, allocations: 254.5 MB / 430.3 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04845/1.703, allocations: 30.79 MB / 461 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/1.703, allocations: 4 kB / 461 MB, free: 1.668 MB / 410.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.0004271/1.703, allocations: 107.3 kB / 461.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/1.704, allocations: 115.2 kB / 461.3 MB, free: 1.449 MB / 410.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.02735/1.731, allocations: 9.865 MB / 471.1 MB, free: 7.547 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006133/1.732, allocations: 366.7 kB / 471.5 MB, free: 7.188 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/1.732, allocations: 104.7 kB / 471.6 MB, free: 7.086 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/1.732, allocations: 235.3 kB / 471.8 MB, free: 6.855 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/1.732, allocations: 79.8 kB / 471.9 MB, free: 6.777 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/1.732, allocations: 23.94 kB / 471.9 MB, free: 6.754 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03429/1.767, allocations: 16.85 MB / 488.8 MB, free: 5.879 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/1.767, allocations: 51.77 kB / 488.8 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/1.767, allocations: 91.77 kB / 488.9 MB, free: 5.738 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2025/1.969, allocations: 10.87 MB / 499.8 MB, free: 22.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.97, allocations: 0 / 499.8 MB, free: 22.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.97, allocations: 5.062 kB / 499.8 MB, free: 22.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/1.97, allocations: 0 / 499.8 MB, free: 22.41 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.006833/1.976, allocations: 1.417 MB / 0.4895 GB, free: 21.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/1.976, allocations: 11.95 kB / 0.4895 GB, free: 21.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/1.977, allocations: 53.17 kB / 0.4895 GB, free: 21.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/1.977, allocations: 176.2 kB / 0.4897 GB, free: 21.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/1.977, allocations: 16.62 kB / 0.4897 GB, free: 21.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/1.977, allocations: 21.66 kB / 0.4897 GB, free: 21.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/1.977, allocations: 344.3 kB / 0.49 GB, free: 21.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.977, allocations: 3.094 kB / 0.49 GB, free: 21.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/1.977, allocations: 11.14 kB / 0.4901 GB, free: 21.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/1.977, allocations: 18.81 kB / 0.4901 GB, free: 21.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/1.978, allocations: 174.2 kB / 0.4902 GB, free: 21.28 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.0333/2.011, allocations: 10.89 MB / 0.5009 GB, free: 19.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/2.011, allocations: 133.8 kB / 0.501 GB, free: 19.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/2.011, allocations: 67.78 kB / 0.5011 GB, free: 19.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1387/2.15, allocations: 43.66 MB / 0.5437 GB, free: 1.848 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/2.15, allocations: 36.92 kB / 0.5437 GB, free: 1.809 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/2.15, allocations: 0 / 0.5437 GB, free: 1.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009783/2.151, allocations: 348.6 kB / 0.5441 GB, free: 1.559 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/2.151, allocations: 81.11 kB / 0.5441 GB, free: 1.461 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/2.151, allocations: 177.8 kB / 0.5443 GB, free: 1.305 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/2.151, allocations: 25.7 kB / 0.5443 GB, free: 1.273 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/2.152, allocations: 166.9 kB / 0.5445 GB, free: 1.121 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/2.152, allocations: 113.8 kB / 0.5446 GB, free: 1.023 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/2.152, allocations: 53.33 kB / 0.5447 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/2.152, allocations: 337.2 kB / 0.545 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/2.152, allocations: 76.36 kB / 0.5451 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/2.152, allocations: 161.1 kB / 0.5452 GB, free: 480 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/2.153, allocations: 231.8 kB / 0.5454 GB, free: 316 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/2.153, allocations: 0 / 0.5454 GB, free: 316 kB / 458.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000509/2.153, allocations: 314 kB / 0.5457 GB, free: 92 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/2.153, allocations: 8.938 kB / 0.5457 GB, free: 84 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/2.153, allocations: 4 kB / 0.5457 GB, free: 80 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/2.154, allocations: 136.3 kB / 0.5459 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/2.154, allocations: 21.27 kB / 0.5459 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006827/2.155, allocations: 0.6139 MB / 0.5465 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/2.155, allocations: 23.41 kB / 0.5465 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/2.155, allocations: 8 kB / 0.5465 GB, free: 15.32 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.000155/2.155, allocations: 136.6 kB / 0.5467 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/2.155, allocations: 19.86 kB / 0.5467 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/2.156, allocations: 0.6065 MB / 0.5473 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00061/2.157, allocations: 232.6 kB / 0.5475 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/2.157, allocations: 3.562 kB / 0.5475 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/2.157, allocations: 0 / 0.5475 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/2.158, allocations: 0.6258 MB / 0.5481 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/2.158, allocations: 0 / 0.5481 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/2.158, allocations: 16 kB / 0.5481 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/2.159, allocations: 109.5 kB / 0.5482 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/2.159, allocations: 5.688 kB / 0.5482 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006419/2.159, allocations: 0.649 MB / 0.5489 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/2.159, allocations: 0.5469 kB / 0.5489 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/2.16, allocations: 353 kB / 0.5492 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/2.16, allocations: 23.27 kB / 0.5492 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/2.16, allocations: 14.77 kB / 0.5492 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/2.16, allocations: 8.562 kB / 0.5492 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/2.16, allocations: 9.953 kB / 0.5492 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/2.16, allocations: 2.375 kB / 0.5493 GB, free: 12.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004581/2.161, allocations: 212 kB / 0.5495 GB, free: 12.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/2.161, allocations: 0 / 0.5495 GB, free: 12.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004415/2.165, allocations: 1.234 MB / 0.5507 GB, free: 11.56 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.006009/2.171, allocations: 1.936 MB / 0.5525 GB, free: 9.906 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006563/2.172, allocations: 240.9 kB / 0.5528 GB, free: 9.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/2.172, allocations: 0 / 0.5528 GB, free: 9.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/2.172, allocations: 89.09 kB / 0.5529 GB, free: 9.664 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007582/2.173, allocations: 118.1 kB / 0.553 GB, free: 9.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009238/2.174, allocations: 0.4969 MB / 0.5535 GB, free: 9.098 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/2.174, allocations: 159.4 kB / 0.5536 GB, free: 8.926 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.609e-05/2.174, allocations: 25.78 kB / 0.5536 GB, free: 8.902 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/2.174, allocations: 20.5 kB / 0.5537 GB, free: 8.883 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/2.174, allocations: 0 / 0.5537 GB, free: 8.883 MB / 474.7 MB Notification: Performance of Templates: time 0.0706/2.245, allocations: 42.81 MB / 0.5955 GB, free: 14.33 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.166351058986038]