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.8443/0.8443, allocations: 153.8 MB / 173.4 MB, free: 4.867 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.000556/0.000556, allocations: 19.97 kB / 251 MB, free: 3.867 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1651, allocations: 33.36 MB / 284.4 MB, free: 2.039 MB / 222.1 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.871/2.036, allocations: 307.5 MB / 0.5781 GB, free: 17.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03236/2.069, allocations: 30.74 MB / 0.6081 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/2.069, allocations: 2.656 kB / 0.6081 GB, free: 2.539 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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:33:3-34:47: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:30:3-32:42: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:33:3-35:37: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.0003918/2.069, allocations: 112.5 kB / 0.6082 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/2.07, allocations: 113.6 kB / 0.6083 GB, free: 2.41 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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.0258/2.096, allocations: 9.746 MB / 0.6178 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006235/2.096, allocations: 358.9 kB / 0.6182 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/2.096, allocations: 89.52 kB / 0.6183 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/2.097, allocations: 162.2 kB / 0.6184 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/2.097, allocations: 107.4 kB / 0.6185 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/2.097, allocations: 20 kB / 0.6185 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03319/2.13, allocations: 16.83 MB / 0.635 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/2.13, allocations: 47.78 kB / 0.635 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/2.13, allocations: 111.5 kB / 0.6351 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02136/2.152, allocations: 8.505 MB / 0.6434 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/2.152, allocations: 0 / 0.6434 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/2.152, allocations: 0.8438 kB / 0.6434 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.258e-05/2.152, allocations: 4 kB / 0.6434 GB, free: 2.117 MB / 0.4981 GB 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.004055/2.156, allocations: 1.427 MB / 0.6448 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/2.156, allocations: 8.031 kB / 0.6448 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/2.156, allocations: 31.81 kB / 0.6449 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/2.156, allocations: 181.3 kB / 0.645 GB, free: 420 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/2.156, allocations: 16.44 kB / 0.6451 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/2.156, allocations: 20 kB / 0.6451 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/2.157, allocations: 339.6 kB / 0.6454 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/2.157, allocations: 4.844 kB / 0.6454 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/2.157, allocations: 8.078 kB / 0.6454 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/2.157, allocations: 19.98 kB / 0.6454 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/2.157, allocations: 177.1 kB / 0.6456 GB, free: 15.8 MB / 0.5137 GB 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.03708/2.194, allocations: 10.86 MB / 0.6562 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/2.195, allocations: 130.5 kB / 0.6563 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/2.195, allocations: 72.84 kB / 0.6564 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1559/2.351, allocations: 43.62 MB / 0.699 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/2.351, allocations: 34.55 kB / 0.699 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/2.351, allocations: 0 / 0.699 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009223/2.352, allocations: 336.4 kB / 0.6993 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/2.352, allocations: 81.11 kB / 0.6994 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/2.352, allocations: 190.9 kB / 0.6996 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/2.352, allocations: 33.7 kB / 0.6996 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/2.352, allocations: 168.5 kB / 0.6998 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-05/2.352, allocations: 112 kB / 0.6999 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/2.352, allocations: 53.69 kB / 0.7 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001558/2.352, allocations: 334.8 kB / 0.7003 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/2.352, allocations: 75.97 kB / 0.7003 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/2.353, allocations: 161.2 kB / 0.7005 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/2.353, allocations: 233.5 kB / 0.7007 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/2.353, allocations: 0.9375 kB / 0.7007 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004855/2.353, allocations: 294.2 kB / 0.701 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/2.353, allocations: 8 kB / 0.701 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/2.353, allocations: 0 / 0.701 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009541/2.354, allocations: 141.6 kB / 0.7012 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/2.354, allocations: 12.66 kB / 0.7012 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005974/2.355, allocations: 0.6192 MB / 0.7018 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/2.355, allocations: 35.72 kB / 0.7018 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/2.355, allocations: 4 kB / 0.7018 GB, free: 5.98 MB / 0.5606 GB 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.0001486/2.355, allocations: 138.4 kB / 0.7019 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/2.355, allocations: 16.59 kB / 0.702 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009952/2.356, allocations: 0.6004 MB / 0.7025 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000552/2.357, allocations: 224.4 kB / 0.7028 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/2.357, allocations: 1.125 kB / 0.7028 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/2.357, allocations: 4.656 kB / 0.7028 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/2.358, allocations: 0.628 MB / 0.7034 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/2.358, allocations: 0 / 0.7034 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/2.358, allocations: 19.98 kB / 0.7034 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003624/2.359, allocations: 120.7 kB / 0.7035 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/2.359, allocations: 7.938 kB / 0.7035 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005565/2.359, allocations: 0.6355 MB / 0.7041 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/2.359, allocations: 2.25 kB / 0.7041 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/2.36, allocations: 337.8 kB / 0.7045 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/2.36, allocations: 27.83 kB / 0.7045 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/2.36, allocations: 15.89 kB / 0.7045 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/2.36, allocations: 8.047 kB / 0.7045 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/2.36, allocations: 13.78 kB / 0.7045 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/2.36, allocations: 8 kB / 0.7045 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002238/2.36, allocations: 204.5 kB / 0.7047 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.36, allocations: 0 / 0.7047 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003162/2.363, allocations: 1.243 MB / 0.7059 GB, free: 1.578 MB / 0.5606 GB 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.004911/2.368, allocations: 1.778 MB / 0.7077 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006398/2.369, allocations: 229.5 kB / 0.7079 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/2.369, allocations: 0 / 0.7079 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/2.369, allocations: 81.88 kB / 0.708 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007319/2.37, allocations: 123.4 kB / 0.7081 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/2.371, allocations: 0.5439 MB / 0.7086 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/2.371, allocations: 164.8 kB / 0.7088 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/2.371, allocations: 19.44 kB / 0.7088 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/2.371, allocations: 0 / 0.7088 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.0427/2.414, allocations: 25.32 MB / 0.7335 GB, free: 5.707 MB / 0.5919 GB " [Timeout remaining time 657] 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: 10.659079081844538] Failed to read output from testmodel.py, exit status != 0: 2.578930940013379 2.593299036 0.43847221 Calling exit ...