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.5165/0.5165, allocations: 111.6 MB / 131.7 MB, free: 5.062 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.865e-06/2.865e-06, allocations: 4 kB / 176.5 MB, free: 9.289 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.835e-05, allocations: 5.703 kB / 176.5 MB, free: 9.285 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.041/1.041, allocations: 256.9 MB / 433.5 MB, free: 428 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02862/1.07, allocations: 33.19 MB / 466.7 MB, free: 15.1 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/1.07, allocations: 4 kB / 466.7 MB, free: 15.1 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.0003019/1.07, allocations: 107.3 kB / 466.8 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/1.07, allocations: 123 kB / 466.9 MB, free: 14.87 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.017/1.087, allocations: 9.861 MB / 476.8 MB, free: 4.973 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/1.087, allocations: 370.6 kB / 477.1 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/1.088, allocations: 100.8 kB / 477.2 MB, free: 4.508 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/1.088, allocations: 231.4 kB / 477.4 MB, free: 4.281 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/1.088, allocations: 79.73 kB / 477.5 MB, free: 4.203 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/1.088, allocations: 20 kB / 477.5 MB, free: 4.184 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01827/1.106, allocations: 16.86 MB / 494.4 MB, free: 3.301 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/1.106, allocations: 47.84 kB / 494.4 MB, free: 3.254 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/1.106, allocations: 87.77 kB / 494.5 MB, free: 3.168 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1993/1.306, allocations: 10.8 MB / 0.4935 GB, free: 19.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.306, allocations: 1.125 kB / 0.4935 GB, free: 19.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.222e-06/1.306, allocations: 0 / 0.4935 GB, free: 19.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/1.306, allocations: 0 / 0.4935 GB, free: 19.71 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.005534/1.311, allocations: 1.526 MB / 0.495 GB, free: 18.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/1.311, allocations: 9.906 kB / 0.495 GB, free: 18.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/1.311, allocations: 48.86 kB / 0.495 GB, free: 18.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/1.312, allocations: 172.9 kB / 0.4952 GB, free: 18.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/1.312, allocations: 16.38 kB / 0.4952 GB, free: 18.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/1.312, allocations: 21.34 kB / 0.4952 GB, free: 18.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/1.312, allocations: 307.1 kB / 0.4955 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.312, allocations: 5.812 kB / 0.4955 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/1.312, allocations: 11.06 kB / 0.4955 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/1.312, allocations: 12.08 kB / 0.4955 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/1.312, allocations: 96 kB / 0.4956 GB, free: 18.43 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.01789/1.33, allocations: 11.26 MB / 0.5066 GB, free: 16.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/1.33, allocations: 101.5 kB / 0.5067 GB, free: 16.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.347e-05/1.33, allocations: 34.03 kB / 0.5068 GB, free: 16.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07039/1.401, allocations: 43.78 MB / 0.5495 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/1.401, allocations: 37.05 kB / 0.5496 GB, free: 14.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 1.883e-06/1.401, allocations: 0 / 0.5496 GB, free: 14.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005812/1.401, allocations: 236.6 kB / 0.5498 GB, free: 14.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/1.401, allocations: 81.66 kB / 0.5499 GB, free: 14.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/1.401, allocations: 236 kB / 0.5501 GB, free: 13.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/1.401, allocations: 29.7 kB / 0.5501 GB, free: 13.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/1.402, allocations: 209.4 kB / 0.5503 GB, free: 13.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/1.402, allocations: 120.9 kB / 0.5504 GB, free: 13.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/1.402, allocations: 63.64 kB / 0.5505 GB, free: 13.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/1.402, allocations: 0.5036 MB / 0.551 GB, free: 13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/1.402, allocations: 35.11 kB / 0.551 GB, free: 12.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/1.402, allocations: 137.5 kB / 0.5512 GB, free: 12.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/1.402, allocations: 171.3 kB / 0.5513 GB, free: 12.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.402, allocations: 0 / 0.5513 GB, free: 12.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0002541/1.402, allocations: 235.3 kB / 0.5515 GB, free: 12.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.402, allocations: 4 kB / 0.5515 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.402, allocations: 0 / 0.5515 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004827/1.403, allocations: 114.9 kB / 0.5517 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/1.403, allocations: 19.45 kB / 0.5517 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003967/1.403, allocations: 0.8562 MB / 0.5525 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/1.403, allocations: 28.62 kB / 0.5525 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/1.403, allocations: 9.656 kB / 0.5525 GB, free: 11.41 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.0001011/1.404, allocations: 164.1 kB / 0.5527 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/1.404, allocations: 26.86 kB / 0.5527 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006463/1.404, allocations: 0.6267 MB / 0.5533 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003419/1.405, allocations: 179.7 kB / 0.5535 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.405, allocations: 4 kB / 0.5535 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.405, allocations: 0 / 0.5535 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006596/1.405, allocations: 0.6292 MB / 0.5541 GB, free: 9.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.405, allocations: 0.5 kB / 0.5541 GB, free: 9.883 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/1.405, allocations: 19.98 kB / 0.5541 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/1.405, allocations: 90.48 kB / 0.5542 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.405, allocations: 8.438 kB / 0.5542 GB, free: 9.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003212/1.406, allocations: 0.8588 MB / 0.5551 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.406, allocations: 0 / 0.5551 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/1.406, allocations: 343.7 kB / 0.5554 GB, free: 8.566 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/1.406, allocations: 30.39 kB / 0.5554 GB, free: 8.543 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/1.406, allocations: 11.98 kB / 0.5555 GB, free: 8.531 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/1.406, allocations: 3.688 kB / 0.5555 GB, free: 8.531 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/1.406, allocations: 13.16 kB / 0.5555 GB, free: 8.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/1.406, allocations: 6.297 kB / 0.5555 GB, free: 8.516 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001325/1.406, allocations: 224.5 kB / 0.5557 GB, free: 8.316 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/1.406, allocations: 0 / 0.5557 GB, free: 8.316 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003147/1.41, allocations: 1.242 MB / 0.5569 GB, free: 7.152 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.003454/1.413, allocations: 1.934 MB / 0.5588 GB, free: 5.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000374/1.413, allocations: 195.6 kB / 0.559 GB, free: 5.324 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.413, allocations: 0 / 0.559 GB, free: 5.324 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/1.414, allocations: 82.84 kB / 0.5591 GB, free: 5.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/1.414, allocations: 123.8 kB / 0.5592 GB, free: 5.156 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/1.415, allocations: 498 kB / 0.5596 GB, free: 4.676 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/1.415, allocations: 90.81 kB / 0.5597 GB, free: 4.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.57e-05/1.415, allocations: 27.64 kB / 0.5598 GB, free: 4.547 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/1.415, allocations: 22.12 kB / 0.5598 GB, free: 4.523 MB / 474.7 MB Notification: Performance of SimCode: time 5.51e-07/1.415, allocations: 0 / 0.5598 GB, free: 4.523 MB / 474.7 MB Notification: Performance of Templates: time 0.03679/1.452, allocations: 43.51 MB / 0.6023 GB, free: 9.324 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8647400960326195]