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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.791/0.791, allocations: 152.6 MB / 169.6 MB, free: 14.91 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 0.000461/0.000461, allocations: 15.19 kB / 245.6 MB, free: 15.62 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0523/0.05276, allocations: 33.06 MB / 278.6 MB, free: 0.6562 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.549/1.602, allocations: 301.1 MB / 0.5662 GB, free: 2.555 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4514/2.053, allocations: 190.7 MB / 0.7524 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/2.054, allocations: 7 kB / 0.7524 GB, free: 15.16 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59: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 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47: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 4.0.0-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 4.0.0-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.0001083/2.054, allocations: 41.14 kB / 0.7524 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/2.054, allocations: 113.7 kB / 0.7526 GB, free: 15.15 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.02786/2.082, allocations: 12.32 MB / 0.7646 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004792/2.082, allocations: 396.2 kB / 0.765 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/2.083, allocations: 188.1 kB / 0.7651 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/2.083, allocations: 168.4 kB / 0.7653 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/2.083, allocations: 170.5 kB / 0.7655 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/2.083, allocations: 34.59 kB / 0.7655 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03471/2.118, allocations: 21.07 MB / 0.7861 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/2.118, allocations: 77.58 kB / 0.7861 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/2.118, allocations: 185.2 kB / 0.7863 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02163/2.14, allocations: 10.37 MB / 0.7964 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/2.14, allocations: 7.938 kB / 0.7965 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/2.14, allocations: 1.094 kB / 0.7965 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.337e-06/2.14, allocations: 0 / 0.7965 GB, free: 15.34 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.004835/2.145, allocations: 1.947 MB / 0.7984 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/2.145, allocations: 12.98 kB / 0.7984 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.645e-05/2.145, allocations: 49.64 kB / 0.7984 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/2.145, allocations: 305.4 kB / 0.7987 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/2.145, allocations: 29 kB / 0.7987 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/2.145, allocations: 32 kB / 0.7988 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/2.146, allocations: 382.4 kB / 0.7991 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/2.146, allocations: 3.938 kB / 0.7991 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/2.146, allocations: 12 kB / 0.7991 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/2.146, allocations: 13.14 kB / 0.7992 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/2.146, allocations: 246.1 kB / 0.7994 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009225/2.155, allocations: 6.171 MB / 0.8054 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/2.156, allocations: 74.62 kB / 0.8055 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/2.156, allocations: 24.86 kB / 0.8055 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3255/2.481, allocations: 155.6 MB / 0.9575 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/2.481, allocations: 34.56 kB / 0.9575 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/2.481, allocations: 4 kB / 0.9575 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007519/2.482, allocations: 251.8 kB / 0.9578 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/2.482, allocations: 85.05 kB / 0.9579 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/2.482, allocations: 290.8 kB / 0.9581 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/2.482, allocations: 29.7 kB / 0.9582 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/2.483, allocations: 230.9 kB / 0.9584 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/2.483, allocations: 35.78 kB / 0.9584 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/2.483, allocations: 57.89 kB / 0.9585 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000149/2.483, allocations: 334.8 kB / 0.9588 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/2.483, allocations: 48.44 kB / 0.9588 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/2.483, allocations: 165 kB / 0.959 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/2.483, allocations: 215.6 kB / 0.9592 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/2.483, allocations: 3.938 kB / 0.9592 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005272/2.484, allocations: 278 kB / 0.9595 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/2.484, allocations: 8 kB / 0.9595 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/2.484, allocations: 5 kB / 0.9595 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008887/2.485, allocations: 109 kB / 0.9596 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/2.485, allocations: 43.92 kB / 0.9596 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004939/2.486, allocations: 0.564 MB / 0.9602 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/2.486, allocations: 33.16 kB / 0.9602 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/2.486, allocations: 19.97 kB / 0.9602 GB, free: 5.402 MB / 0.7794 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.0001527/2.486, allocations: 156.3 kB / 0.9604 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/2.486, allocations: 27.81 kB / 0.9604 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/2.487, allocations: 169.1 kB / 0.9606 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/2.487, allocations: 0 / 0.9606 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/2.487, allocations: 1.312 kB / 0.9606 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/2.487, allocations: 7.875 kB / 0.9606 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/2.487, allocations: 305.5 kB / 0.9609 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/2.487, allocations: 0 / 0.9609 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/2.487, allocations: 11.94 kB / 0.9609 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004784/2.487, allocations: 81.12 kB / 0.961 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/2.487, allocations: 0 / 0.961 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004599/2.488, allocations: 0.562 MB / 0.9615 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/2.488, allocations: 4.094 kB / 0.9615 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004596/2.488, allocations: 173.4 kB / 0.9617 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/2.488, allocations: 108.8 kB / 0.9618 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/2.488, allocations: 8 kB / 0.9618 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/2.489, allocations: 3.984 kB / 0.9618 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/2.489, allocations: 4 kB / 0.9618 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/2.489, allocations: 4 kB / 0.9618 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002289/2.489, allocations: 213.9 kB / 0.962 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8.1e-08/2.489, allocations: 0 / 0.962 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004078/2.493, allocations: 1.624 MB / 0.9636 GB, free: 1.832 MB / 0.7794 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.007389/2.5, allocations: 2.486 MB / 0.966 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004377/2.501, allocations: 128.5 kB / 0.9661 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/2.501, allocations: 0 / 0.9661 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/2.501, allocations: 47.25 kB / 0.9662 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/2.501, allocations: 71 kB / 0.9663 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/2.502, allocations: 494.6 kB / 0.9667 GB, free: 14.87 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/2.503, allocations: 0.7596 MB / 0.9675 GB, free: 14.08 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/2.503, allocations: 27.44 kB / 0.9675 GB, free: 14.05 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/2.503, allocations: 0 / 0.9675 GB, free: 14.05 MB / 0.795 GB Notification: Performance of Templates: time 0.2066/2.709, allocations: 31.2 MB / 0.998 GB, free: 432.9 MB / 0.8106 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: 11.004754056921229] Failed to read output from testmodel.py, exit status != 0: 2.8253837309312075 2.832736426 0.691205266 Calling exit ...