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.8511/0.8511, allocations: 153.8 MB / 173.4 MB, free: 4.953 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.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 0.0007085/0.0007085, allocations: 11.97 kB / 251 MB, free: 4.027 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1875, allocations: 33.36 MB / 284.4 MB, free: 2.145 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.868/2.056, allocations: 307.4 MB / 0.5779 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03532/2.091, allocations: 34.95 MB / 0.612 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/2.091, allocations: 3.219 kB / 0.6121 GB, free: 14.23 MB / 494.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.0005602/2.092, allocations: 131.3 kB / 0.6122 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/2.092, allocations: 109.3 kB / 0.6123 GB, free: 14.1 MB / 494.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.0321/2.124, allocations: 9.897 MB / 0.6219 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000714/2.125, allocations: 354.8 kB / 0.6223 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/2.125, allocations: 99.06 kB / 0.6224 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/2.126, allocations: 159.3 kB / 0.6225 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/2.126, allocations: 119.4 kB / 0.6226 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/2.126, allocations: 16 kB / 0.6227 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06071/2.187, allocations: 18 MB / 0.6402 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/2.187, allocations: 51.78 kB / 0.6403 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003542/2.187, allocations: 135.3 kB / 0.6404 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03477/2.222, allocations: 8.497 MB / 0.6487 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/2.222, allocations: 0 / 0.6487 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.405e-06/2.222, allocations: 0 / 0.6487 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.502e-05/2.222, allocations: 0 / 0.6487 GB, free: 13.05 MB / 0.5137 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.006277/2.228, allocations: 1.43 MB / 0.6501 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/2.228, allocations: 20.7 kB / 0.6501 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/2.228, allocations: 27.81 kB / 0.6502 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/2.229, allocations: 177.6 kB / 0.6503 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/2.229, allocations: 16.44 kB / 0.6503 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/2.229, allocations: 20 kB / 0.6504 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/2.23, allocations: 321.1 kB / 0.6507 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/2.23, allocations: 5.719 kB / 0.6507 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/2.23, allocations: 13.22 kB / 0.6507 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/2.23, allocations: 8 kB / 0.6507 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005501/2.23, allocations: 177.2 kB / 0.6509 GB, free: 10.76 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.07065/2.301, allocations: 11.28 MB / 0.6619 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/2.302, allocations: 130.6 kB / 0.662 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/2.302, allocations: 68.83 kB / 0.6621 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1777/2.48, allocations: 43.45 MB / 0.7045 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/2.48, allocations: 34.56 kB / 0.7045 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.424e-06/2.48, allocations: 3.938 kB / 0.7045 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009296/2.481, allocations: 344.4 kB / 0.7049 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/2.481, allocations: 85.09 kB / 0.7049 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/2.481, allocations: 224.9 kB / 0.7052 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/2.481, allocations: 25.7 kB / 0.7052 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/2.481, allocations: 153.5 kB / 0.7053 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/2.481, allocations: 118.9 kB / 0.7054 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/2.481, allocations: 53.66 kB / 0.7055 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001787/2.481, allocations: 338.8 kB / 0.7058 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/2.482, allocations: 77.09 kB / 0.7059 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/2.482, allocations: 139 kB / 0.706 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/2.482, allocations: 233.6 kB / 0.7062 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/2.482, allocations: 0 / 0.7062 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004984/2.483, allocations: 298.3 kB / 0.7065 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/2.483, allocations: 8.75 kB / 0.7065 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/2.483, allocations: 0 / 0.7065 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009894/2.484, allocations: 137.6 kB / 0.7067 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/2.484, allocations: 23.97 kB / 0.7067 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006164/2.484, allocations: 0.6118 MB / 0.7073 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/2.484, allocations: 32.55 kB / 0.7073 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/2.484, allocations: 4 kB / 0.7073 GB, free: 0.5742 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.000152/2.485, allocations: 145.8 kB / 0.7075 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/2.485, allocations: 28.41 kB / 0.7075 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/2.486, allocations: 0.597 MB / 0.7081 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005762/2.486, allocations: 223.1 kB / 0.7083 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/2.486, allocations: 4 kB / 0.7083 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/2.486, allocations: 0 / 0.7083 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/2.488, allocations: 0.6942 MB / 0.709 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/2.488, allocations: 3.938 kB / 0.709 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.001e-05/2.488, allocations: 25.58 kB / 0.709 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/2.488, allocations: 112.7 kB / 0.7091 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/2.488, allocations: 8 kB / 0.7091 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005828/2.489, allocations: 0.6358 MB / 0.7097 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/2.489, allocations: 1.125 kB / 0.7097 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/2.489, allocations: 353 kB / 0.7101 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/2.489, allocations: 31.78 kB / 0.7101 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/2.489, allocations: 13.45 kB / 0.7101 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/2.49, allocations: 4 kB / 0.7101 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/2.49, allocations: 16.72 kB / 0.7101 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/2.49, allocations: 3.938 kB / 0.7101 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002799/2.49, allocations: 247.1 kB / 0.7104 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/2.49, allocations: 0 / 0.7104 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003096/2.493, allocations: 1.231 MB / 0.7116 GB, free: 12.04 MB / 0.5762 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.005743/2.499, allocations: 1.773 MB / 0.7133 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006362/2.499, allocations: 234.3 kB / 0.7135 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/2.499, allocations: 0 / 0.7135 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/2.5, allocations: 87.83 kB / 0.7136 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007421/2.5, allocations: 129.7 kB / 0.7137 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009832/2.501, allocations: 0.555 MB / 0.7143 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/2.502, allocations: 0.7675 MB / 0.715 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/2.502, allocations: 23.44 kB / 0.7151 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/2.502, allocations: 3.938 kB / 0.7151 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.0401/2.542, allocations: 25.51 MB / 0.74 GB, free: 15.35 MB / 0.6075 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.285915275104344] Failed to read output from testmodel.py, exit status != 0: 2.714181886985898 2.952040584 0.727445608 Calling exit ...