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.8756/0.8756, allocations: 153.8 MB / 172.7 MB, free: 4.852 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.0005874/0.0005874, allocations: 19.97 kB / 250.2 MB, free: 3.926 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1626, allocations: 33.36 MB / 283.6 MB, free: 2.059 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.954/2.116, allocations: 307.4 MB / 0.5772 GB, free: 17.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03243/2.149, allocations: 30.74 MB / 0.6072 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/2.149, allocations: 2.406 kB / 0.6072 GB, free: 2.711 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.0004247/2.149, allocations: 109.6 kB / 0.6073 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/2.15, allocations: 116.6 kB / 0.6074 GB, free: 2.582 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.02859/2.178, allocations: 9.754 MB / 0.6169 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006786/2.179, allocations: 358 kB / 0.6173 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/2.179, allocations: 101.6 kB / 0.6174 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/2.18, allocations: 157.1 kB / 0.6175 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/2.18, allocations: 107.4 kB / 0.6176 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/2.18, allocations: 16 kB / 0.6177 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03602/2.216, allocations: 16.83 MB / 0.6341 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.54e-05/2.216, allocations: 51.78 kB / 0.6341 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/2.216, allocations: 107.5 kB / 0.6342 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0191/2.235, allocations: 8.514 MB / 0.6426 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/2.235, allocations: 0 / 0.6426 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.983e-06/2.235, allocations: 0 / 0.6426 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.085e-05/2.235, allocations: 0 / 0.6426 GB, free: 2.555 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.004274/2.239, allocations: 1.43 MB / 0.6439 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/2.239, allocations: 8.031 kB / 0.644 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.755e-05/2.24, allocations: 28.44 kB / 0.644 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/2.24, allocations: 181.8 kB / 0.6442 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/2.24, allocations: 13.33 kB / 0.6442 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/2.24, allocations: 20 kB / 0.6442 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/2.24, allocations: 346.8 kB / 0.6445 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/2.24, allocations: 3.938 kB / 0.6445 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/2.241, allocations: 12 kB / 0.6445 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/2.241, allocations: 15.98 kB / 0.6445 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/2.241, allocations: 169.8 kB / 0.6447 GB, free: 252 kB / 0.4981 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.03854/2.279, allocations: 10.86 MB / 0.6553 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/2.28, allocations: 134.5 kB / 0.6554 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/2.28, allocations: 69.59 kB / 0.6555 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1605/2.44, allocations: 43.61 MB / 0.6981 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/2.441, allocations: 38.56 kB / 0.6981 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.325e-06/2.441, allocations: 0 / 0.6981 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0009728/2.441, allocations: 348.4 kB / 0.6985 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/2.442, allocations: 77.11 kB / 0.6985 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/2.442, allocations: 190.7 kB / 0.6987 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/2.442, allocations: 25.7 kB / 0.6987 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/2.442, allocations: 169.6 kB / 0.6989 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/2.442, allocations: 115 kB / 0.699 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/2.442, allocations: 57.64 kB / 0.6991 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001614/2.442, allocations: 330.8 kB / 0.6994 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/2.442, allocations: 82.12 kB / 0.6995 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/2.443, allocations: 161.2 kB / 0.6996 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/2.443, allocations: 233.5 kB / 0.6998 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/2.443, allocations: 0 / 0.6998 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005034/2.443, allocations: 295 kB / 0.7001 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/2.443, allocations: 4 kB / 0.7001 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/2.443, allocations: 4.156 kB / 0.7001 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/2.444, allocations: 137.5 kB / 0.7003 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/2.445, allocations: 16.59 kB / 0.7003 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006488/2.445, allocations: 0.6148 MB / 0.7009 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/2.445, allocations: 27.72 kB / 0.7009 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/2.445, allocations: 12 kB / 0.7009 GB, free: 6.422 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.0001502/2.445, allocations: 134.9 kB / 0.701 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/2.446, allocations: 15.91 kB / 0.7011 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/2.447, allocations: 0.5969 MB / 0.7016 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005882/2.447, allocations: 229 kB / 0.7019 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.447, allocations: 7.938 kB / 0.7019 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/2.447, allocations: 0 / 0.7019 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/2.448, allocations: 0.6327 MB / 0.7025 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/2.448, allocations: 0 / 0.7025 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/2.448, allocations: 15.98 kB / 0.7025 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003851/2.449, allocations: 118.9 kB / 0.7026 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/2.449, allocations: 7.938 kB / 0.7026 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000613/2.45, allocations: 0.6395 MB / 0.7032 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/2.45, allocations: 0.75 kB / 0.7033 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/2.45, allocations: 337.8 kB / 0.7036 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/2.45, allocations: 39.78 kB / 0.7036 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/2.45, allocations: 7.938 kB / 0.7036 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/2.45, allocations: 7.984 kB / 0.7036 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/2.45, allocations: 7.984 kB / 0.7036 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/2.45, allocations: 4 kB / 0.7036 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002376/2.451, allocations: 208.5 kB / 0.7038 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/2.451, allocations: 0.6562 kB / 0.7038 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003129/2.454, allocations: 1.243 MB / 0.7051 GB, free: 2.023 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.005823/2.46, allocations: 1.777 MB / 0.7068 GB, free: 280 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006914/2.46, allocations: 229.4 kB / 0.707 GB, free: 44 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/2.46, allocations: 0 / 0.707 GB, free: 44 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/2.461, allocations: 88.3 kB / 0.7071 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/2.461, allocations: 110.5 kB / 0.7072 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/2.462, allocations: 0.5199 MB / 0.7077 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/2.463, allocations: 167.6 kB / 0.7079 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001201/2.463, allocations: 24.53 kB / 0.7079 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/2.463, allocations: 16.66 kB / 0.7079 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/2.463, allocations: 4 kB / 0.7079 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.06465/2.527, allocations: 42.79 MB / 0.7497 GB, free: 4.832 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: 8.711038568988442] Failed to read output from testmodel.py, exit status != 0: 2.9241074100136757 2.93534017 0.697578869 Calling exit ...