Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.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.8808/0.8808, 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.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005374, allocations: 20.86 kB / 245.6 MB, free: 15.59 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.08023, allocations: 33.06 MB / 278.7 MB, free: 0.5859 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.SimpleExamples.TestDiaphragm): time 1.853/1.933, allocations: 301.2 MB / 0.5663 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5806/2.514, allocations: 190.7 MB / 0.7525 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/2.514, allocations: 7.875 kB / 0.7525 GB, free: 15.48 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.0001416/2.515, allocations: 40.02 kB / 0.7526 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002955/2.515, allocations: 112.8 kB / 0.7527 GB, free: 15.48 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.0375/2.552, allocations: 12.32 MB / 0.7647 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000788/2.553, allocations: 399.7 kB / 0.7651 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/2.553, allocations: 172.8 kB / 0.7652 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/2.554, allocations: 168.2 kB / 0.7654 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/2.554, allocations: 181.6 kB / 0.7656 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/2.554, allocations: 35.28 kB / 0.7656 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04978/2.604, allocations: 21.07 MB / 0.7862 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002687/2.604, allocations: 75.95 kB / 0.7863 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003706/2.604, allocations: 181.1 kB / 0.7864 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0329/2.637, allocations: 10.38 MB / 0.7966 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/2.637, allocations: 4 kB / 0.7966 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/2.637, allocations: 4 kB / 0.7966 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.973e-05/2.637, allocations: 0 / 0.7966 GB, free: 15.25 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.006762/2.644, allocations: 1.956 MB / 0.7985 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/2.644, allocations: 8.031 kB / 0.7985 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/2.644, allocations: 43.7 kB / 0.7985 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/2.645, allocations: 303.7 kB / 0.7988 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/2.645, allocations: 30.2 kB / 0.7988 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/2.645, allocations: 32 kB / 0.7989 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000709/2.646, allocations: 382.4 kB / 0.7992 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/2.646, allocations: 0 / 0.7992 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/2.646, allocations: 16 kB / 0.7993 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/2.646, allocations: 11.94 kB / 0.7993 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/2.646, allocations: 250 kB / 0.7995 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/2.656, allocations: 6.166 MB / 0.8055 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/2.657, allocations: 74.53 kB / 0.8056 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/2.657, allocations: 28.89 kB / 0.8056 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3567/3.013, allocations: 155.6 MB / 0.9576 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/3.013, allocations: 30.56 kB / 0.9576 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/3.013, allocations: 4 kB / 0.9576 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0009127/3.014, allocations: 267.8 kB / 0.9579 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/3.014, allocations: 77.11 kB / 0.958 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/3.015, allocations: 290.9 kB / 0.9583 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/3.015, allocations: 29.7 kB / 0.9583 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/3.015, allocations: 234.9 kB / 0.9585 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/3.015, allocations: 31.72 kB / 0.9585 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/3.015, allocations: 61.89 kB / 0.9586 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001812/3.015, allocations: 334.8 kB / 0.9589 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/3.016, allocations: 48.45 kB / 0.959 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/3.016, allocations: 159.4 kB / 0.9591 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/3.016, allocations: 210.8 kB / 0.9593 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/3.016, allocations: 8 kB / 0.9593 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006028/3.017, allocations: 277.1 kB / 0.9596 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/3.017, allocations: 8.469 kB / 0.9596 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/3.017, allocations: 4.625 kB / 0.9596 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009744/3.018, allocations: 113.3 kB / 0.9597 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/3.018, allocations: 47.86 kB / 0.9598 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006134/3.018, allocations: 0.5688 MB / 0.9603 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/3.019, allocations: 27.78 kB / 0.9603 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/3.019, allocations: 21.25 kB / 0.9604 GB, free: 5.312 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.0002155/3.019, allocations: 145.7 kB / 0.9605 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/3.019, allocations: 31.8 kB / 0.9605 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/3.02, allocations: 168.8 kB / 0.9607 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/3.02, allocations: 3.984 kB / 0.9607 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/3.02, allocations: 4 kB / 0.9607 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/3.02, allocations: 5.25 kB / 0.9607 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/3.02, allocations: 301.5 kB / 0.961 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/3.02, allocations: 0 / 0.961 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/3.02, allocations: 8 kB / 0.961 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/3.021, allocations: 76.67 kB / 0.9611 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/3.021, allocations: 5 kB / 0.9611 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005409/3.021, allocations: 0.5718 MB / 0.9616 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/3.021, allocations: 4.031 kB / 0.9616 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/3.022, allocations: 172.5 kB / 0.9618 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/3.022, allocations: 108.8 kB / 0.9619 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/3.022, allocations: 8 kB / 0.9619 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/3.022, allocations: 1.125 kB / 0.9619 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/3.022, allocations: 7.984 kB / 0.9619 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/3.022, allocations: 0 / 0.9619 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002799/3.022, allocations: 213.9 kB / 0.9621 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/3.022, allocations: 0 / 0.9621 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00631/3.029, allocations: 1.62 MB / 0.9637 GB, free: 1.746 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.00899/3.038, allocations: 2.496 MB / 0.9661 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005602/3.038, allocations: 128.5 kB / 0.9663 GB, free: 15.4 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/3.038, allocations: 192 / 0.9663 GB, free: 15.4 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/3.038, allocations: 39.97 kB / 0.9663 GB, free: 15.36 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/3.039, allocations: 78.17 kB / 0.9664 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/3.04, allocations: 0.4904 MB / 0.9669 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/3.04, allocations: 0.7597 MB / 0.9676 GB, free: 13.99 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/3.04, allocations: 31.42 kB / 0.9676 GB, free: 13.96 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/3.04, allocations: 0 / 0.9676 GB, free: 13.96 MB / 0.795 GB Notification: Performance of Templates: time 0.268/3.308, allocations: 31.19 MB / 0.9981 GB, free: 433.4 MB / 0.8106 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.25827621598728] Failed to read output from testmodel.py, exit status != 0: 3.4715495940763503 3.480162284 0.840663114 Calling exit ...