Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8477/0.8477, allocations: 120.4 MB / 139.5 MB, free: 496 kB / 126.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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 1.312 kB / 217.2 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.221e-05, allocations: 2.281 kB / 217.2 MB, free: 13.79 MB / 206.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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.579/1.579, allocations: 254.3 MB / 471.4 MB, free: 10.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4322/2.011, allocations: 167.1 MB / 0.6236 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/2.011, allocations: 11.88 kB / 0.6236 GB, free: 2.402 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:47:3-48:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:34:3-35:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Diaphragm.mo:36:3-37:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000147/2.011, allocations: 39.58 kB / 0.6237 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003447/2.012, allocations: 130.8 kB / 0.6238 GB, free: 2.234 MB / 0.5606 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.03228/2.044, allocations: 12.38 MB / 0.6359 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006963/2.045, allocations: 423.5 kB / 0.6363 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/2.045, allocations: 169 kB / 0.6364 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/2.045, allocations: 263.4 kB / 0.6367 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/2.046, allocations: 127.6 kB / 0.6368 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.302e-05/2.046, allocations: 36 kB / 0.6368 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03621/2.082, allocations: 19.67 MB / 0.656 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/2.082, allocations: 91.62 kB / 0.6561 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/2.082, allocations: 131.7 kB / 0.6563 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02689/2.109, allocations: 13.03 MB / 0.669 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/2.109, allocations: 4 kB / 0.669 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/2.109, allocations: 4 kB / 0.669 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.405e-05/2.109, allocations: 0.6562 kB / 0.669 GB, free: 3.863 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.004963/2.114, allocations: 1.895 MB / 0.6708 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/2.114, allocations: 12.03 kB / 0.6709 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/2.114, allocations: 47.72 kB / 0.6709 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/2.115, allocations: 248 kB / 0.6711 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/2.115, allocations: 29 kB / 0.6712 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/2.115, allocations: 40.81 kB / 0.6712 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/2.116, allocations: 409 kB / 0.6716 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/2.116, allocations: 3.938 kB / 0.6716 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/2.116, allocations: 12 kB / 0.6716 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/2.116, allocations: 8 kB / 0.6716 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/2.116, allocations: 248.6 kB / 0.6719 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007883/2.124, allocations: 3.184 MB / 0.675 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/2.124, allocations: 79.31 kB / 0.675 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/2.124, allocations: 25.47 kB / 0.6751 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5504/2.675, allocations: 88.69 MB / 0.7617 GB, free: 77.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/2.675, allocations: 35.3 kB / 0.7617 GB, free: 77.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/2.675, allocations: 0 / 0.7617 GB, free: 77.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0007077/2.675, allocations: 184 kB / 0.7619 GB, free: 77.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/2.675, allocations: 79.14 kB / 0.762 GB, free: 77.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/2.676, allocations: 316 kB / 0.7623 GB, free: 77.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/2.676, allocations: 26.27 kB / 0.7623 GB, free: 77.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/2.676, allocations: 246.3 kB / 0.7625 GB, free: 77.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/2.676, allocations: 25.41 kB / 0.7625 GB, free: 77.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-05/2.676, allocations: 70.33 kB / 0.7626 GB, free: 77.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/2.676, allocations: 326.8 kB / 0.7629 GB, free: 77.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/2.676, allocations: 47.81 kB / 0.763 GB, free: 77.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/2.676, allocations: 186.4 kB / 0.7631 GB, free: 76.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/2.676, allocations: 208.4 kB / 0.7633 GB, free: 76.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/2.676, allocations: 3.375 kB / 0.7633 GB, free: 76.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004454/2.677, allocations: 278.3 kB / 0.7636 GB, free: 76.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/2.677, allocations: 10.41 kB / 0.7636 GB, free: 76.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/2.677, allocations: 6.438 kB / 0.7636 GB, free: 76.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009302/2.678, allocations: 107.6 kB / 0.7637 GB, free: 76.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/2.678, allocations: 44.41 kB / 0.7638 GB, free: 76.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003228/2.678, allocations: 0.5663 MB / 0.7643 GB, free: 76.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/2.678, allocations: 32.17 kB / 0.7644 GB, free: 76.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/2.679, allocations: 14.66 kB / 0.7644 GB, free: 76.13 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001283/2.679, allocations: 161.9 kB / 0.7645 GB, free: 76.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/2.679, allocations: 32.47 kB / 0.7646 GB, free: 76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/2.679, allocations: 175.3 kB / 0.7647 GB, free: 75.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/2.679, allocations: 3.969 kB / 0.7647 GB, free: 75.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/2.679, allocations: 0 / 0.7647 GB, free: 75.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/2.679, allocations: 0 / 0.7647 GB, free: 75.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/2.679, allocations: 216.5 kB / 0.7649 GB, free: 75.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/2.679, allocations: 7.281 kB / 0.7649 GB, free: 75.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/2.679, allocations: 5.984 kB / 0.7649 GB, free: 75.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005006/2.68, allocations: 83.69 kB / 0.765 GB, free: 75.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/2.68, allocations: 6.469 kB / 0.765 GB, free: 75.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002805/2.68, allocations: 0.5625 MB / 0.7656 GB, free: 75.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.68, allocations: 4.688 kB / 0.7656 GB, free: 75.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/2.681, allocations: 164.9 kB / 0.7657 GB, free: 75.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/2.681, allocations: 43.69 kB / 0.7658 GB, free: 75.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/2.681, allocations: 0.5469 kB / 0.7658 GB, free: 75.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/2.681, allocations: 5.125 kB / 0.7658 GB, free: 75.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/2.681, allocations: 9.312 kB / 0.7658 GB, free: 75.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/2.681, allocations: 8.5 kB / 0.7658 GB, free: 75.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001682/2.681, allocations: 211.3 kB / 0.766 GB, free: 75.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/2.681, allocations: 1.297 kB / 0.766 GB, free: 75.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003048/2.684, allocations: 1.639 MB / 0.7676 GB, free: 75.09 MB / 0.6544 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 (4): * Single equations (assignments): 3 * 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.005484/2.69, allocations: 2.703 MB / 0.7703 GB, free: 73.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003882/2.69, allocations: 130.2 kB / 0.7704 GB, free: 73.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/2.69, allocations: 0.9375 kB / 0.7704 GB, free: 73.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/2.69, allocations: 39.78 kB / 0.7704 GB, free: 73.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/2.691, allocations: 62.66 kB / 0.7705 GB, free: 73.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/2.691, allocations: 0.4956 MB / 0.771 GB, free: 73.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/2.691, allocations: 176.9 kB / 0.7711 GB, free: 73.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001124/2.691, allocations: 38.27 kB / 0.7712 GB, free: 73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/2.691, allocations: 24.5 kB / 0.7712 GB, free: 72.97 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/2.691, allocations: 4 kB / 0.7712 GB, free: 72.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.04961/2.741, allocations: 48.76 MB / 0.8188 GB, free: 26.8 MB / 0.6544 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.066305849701166] Failed to read output from testmodel.py, exit status != 0: 2.8753865733742714 2.88902028 0.7764801689999999 Calling exit ...