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.5878/0.5878, allocations: 120.4 MB / 140.2 MB, free: 12.97 MB / 138.7 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.054e-06/2.054e-06, allocations: 0 / 217.9 MB, free: 8.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.629e-05, allocations: 7.094 kB / 217.9 MB, free: 8.656 MB / 202.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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 0.9598/0.9598, allocations: 254.2 MB / 472.2 MB, free: 8.848 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3327/1.293, allocations: 167.1 MB / 0.6243 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/1.293, allocations: 11.94 kB / 0.6243 GB, free: 8.875 MB / 0.5573 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.0001074/1.293, allocations: 43.47 kB / 0.6244 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/1.293, allocations: 127 kB / 0.6245 GB, free: 8.707 MB / 0.5573 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.01905/1.312, allocations: 12.39 MB / 0.6366 GB, free: 12.32 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0004155/1.313, allocations: 426.5 kB / 0.637 GB, free: 11.9 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/1.313, allocations: 168.8 kB / 0.6371 GB, free: 11.74 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/1.313, allocations: 267.3 kB / 0.6374 GB, free: 11.48 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/1.313, allocations: 127.6 kB / 0.6375 GB, free: 11.36 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/1.313, allocations: 36 kB / 0.6376 GB, free: 11.32 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02023/1.333, allocations: 19.66 MB / 0.6568 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/1.333, allocations: 91.67 kB / 0.6568 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/1.334, allocations: 131.7 kB / 0.657 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01859/1.352, allocations: 13.03 MB / 0.6697 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.352, allocations: 0 / 0.6697 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/1.352, allocations: 0 / 0.6697 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.352, allocations: 0 / 0.6697 GB, free: 10.35 MB / 0.6042 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.003147/1.355, allocations: 1.896 MB / 0.6715 GB, free: 8.414 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.355, allocations: 12.03 kB / 0.6716 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/1.355, allocations: 51.72 kB / 0.6716 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/1.356, allocations: 251.9 kB / 0.6718 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/1.356, allocations: 29 kB / 0.6719 GB, free: 8.051 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/1.356, allocations: 35.94 kB / 0.6719 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/1.356, allocations: 412.9 kB / 0.6723 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.356, allocations: 0 / 0.6723 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/1.356, allocations: 16 kB / 0.6723 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/1.356, allocations: 12 kB / 0.6723 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/1.357, allocations: 247 kB / 0.6726 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/1.36, allocations: 3.189 MB / 0.6757 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/1.36, allocations: 70.53 kB / 0.6757 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/1.36, allocations: 29.77 kB / 0.6758 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2893/1.65, allocations: 88.69 MB / 0.7624 GB, free: 291.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/1.65, allocations: 34.56 kB / 0.7624 GB, free: 291.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/1.65, allocations: 4.656 kB / 0.7624 GB, free: 291.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0005348/1.65, allocations: 184.8 kB / 0.7626 GB, free: 291.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/1.65, allocations: 77.11 kB / 0.7627 GB, free: 291.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/1.651, allocations: 314.4 kB / 0.763 GB, free: 291.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/1.651, allocations: 25.7 kB / 0.763 GB, free: 291.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/1.651, allocations: 241.5 kB / 0.7632 GB, free: 291.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/1.651, allocations: 28.59 kB / 0.7633 GB, free: 291.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/1.651, allocations: 74.77 kB / 0.7633 GB, free: 291 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 3.15e-05/1.651, allocations: 330.8 kB / 0.7636 GB, free: 290.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/1.651, allocations: 51.91 kB / 0.7637 GB, free: 290.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/1.651, allocations: 187.6 kB / 0.7639 GB, free: 290.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/1.651, allocations: 210.6 kB / 0.7641 GB, free: 290.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/1.651, allocations: 4 kB / 0.7641 GB, free: 290.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002712/1.651, allocations: 263.9 kB / 0.7643 GB, free: 289.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.651, allocations: 12.92 kB / 0.7643 GB, free: 289.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/1.651, allocations: 4 kB / 0.7643 GB, free: 289.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/1.652, allocations: 110.4 kB / 0.7644 GB, free: 289.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/1.652, allocations: 49.48 kB / 0.7645 GB, free: 289.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002159/1.652, allocations: 0.5601 MB / 0.765 GB, free: 289.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/1.652, allocations: 38.86 kB / 0.7651 GB, free: 289.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/1.652, allocations: 16.84 kB / 0.7651 GB, free: 289.1 MB / 0.6667 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.0001018/1.652, allocations: 156 kB / 0.7652 GB, free: 288.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/1.652, allocations: 31.86 kB / 0.7653 GB, free: 288.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/1.653, allocations: 171.7 kB / 0.7654 GB, free: 288.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/1.653, allocations: 0 / 0.7654 GB, free: 288.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.653, allocations: 4.625 kB / 0.7654 GB, free: 288.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.653, allocations: 0.9375 kB / 0.7654 GB, free: 288.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/1.653, allocations: 218.8 kB / 0.7657 GB, free: 288.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.653, allocations: 0 / 0.7657 GB, free: 288.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/1.653, allocations: 8.5 kB / 0.7657 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/1.653, allocations: 85.06 kB / 0.7657 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/1.653, allocations: 4.656 kB / 0.7657 GB, free: 288.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000156/1.653, allocations: 0.5675 MB / 0.7663 GB, free: 287.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.653, allocations: 0.8438 kB / 0.7663 GB, free: 287.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/1.653, allocations: 166.4 kB / 0.7665 GB, free: 287.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/1.653, allocations: 48.58 kB / 0.7665 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/1.654, allocations: 0 / 0.7665 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/1.654, allocations: 0 / 0.7665 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/1.654, allocations: 12.05 kB / 0.7665 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/1.654, allocations: 4 kB / 0.7665 GB, free: 287.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001/1.654, allocations: 207.1 kB / 0.7667 GB, free: 287.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.1e-08/1.654, allocations: 0 / 0.7667 GB, free: 287.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002223/1.656, allocations: 1.644 MB / 0.7683 GB, free: 285.9 MB / 0.6667 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.003731/1.66, allocations: 2.708 MB / 0.771 GB, free: 283.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003441/1.66, allocations: 130.1 kB / 0.7711 GB, free: 283.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.66, allocations: 0 / 0.7711 GB, free: 283.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.373e-05/1.66, allocations: 35.98 kB / 0.7711 GB, free: 283.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/1.66, allocations: 66.53 kB / 0.7712 GB, free: 283.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/1.661, allocations: 0.5232 MB / 0.7717 GB, free: 283 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/1.661, allocations: 169.8 kB / 0.7719 GB, free: 282.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/1.661, allocations: 32.48 kB / 0.7719 GB, free: 282.7 MB / 0.6667 GB Notification: Performance of SimCode: time 4.11e-07/1.661, allocations: 0 / 0.7719 GB, free: 282.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.01971/1.681, allocations: 31.54 MB / 0.8027 GB, free: 251.4 MB / 0.6667 GB " [Timeout remaining time 658] 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: 7.871209905482829] Failed to read output from testmodel.py, exit status != 0: 1.8738147020339966 1.793606991 0.440094545 Calling exit ...