Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.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.848/0.848, allocations: 153.9 MB / 173.4 MB, free: 4.938 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.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005559/0.0005559, allocations: 15.97 kB / 251.1 MB, free: 3.98 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 33.36 MB / 284.5 MB, free: 2.148 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.Fluid.Examples.SimpleExamples.TestDynamicCheckValve): time 2.008/2.224, allocations: 307.8 MB / 0.5784 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2434/2.467, allocations: 191.4 MB / 0.7653 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000566/2.468, allocations: 15.88 kB / 0.7653 GB, free: 5.336 MB / 0.6231 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/DynamicCheckValve.mo:56:3-57: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/DynamicCheckValve.mo:58:3-59: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.0003171/2.468, allocations: 61.06 kB / 0.7654 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004995/2.469, allocations: 154.8 kB / 0.7655 GB, free: 5.125 MB / 0.6231 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.0376/2.506, allocations: 11.81 MB / 0.7771 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001096/2.507, allocations: 0.4988 MB / 0.7776 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/2.508, allocations: 206 kB / 0.7778 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/2.508, allocations: 219.2 kB / 0.778 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/2.509, allocations: 223 kB / 0.7782 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/2.509, allocations: 40 kB / 0.7782 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04424/2.553, allocations: 20 MB / 0.7978 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003112/2.554, allocations: 115.6 kB / 0.7979 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003603/2.554, allocations: 234.8 kB / 0.7981 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03107/2.585, allocations: 9.887 MB / 0.8077 GB, free: 9.852 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/2.585, allocations: 0 / 0.8077 GB, free: 9.852 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.314e-06/2.585, allocations: 0 / 0.8077 GB, free: 9.852 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.007e-05/2.585, allocations: 0 / 0.8077 GB, free: 9.852 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.006509/2.592, allocations: 1.94 MB / 0.8096 GB, free: 7.867 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/2.592, allocations: 17.44 kB / 0.8097 GB, free: 7.852 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/2.592, allocations: 63.66 kB / 0.8097 GB, free: 7.789 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/2.592, allocations: 292.8 kB / 0.81 GB, free: 7.477 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/2.593, allocations: 85.91 kB / 0.8101 GB, free: 7.383 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/2.593, allocations: 36 kB / 0.8101 GB, free: 7.348 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/2.593, allocations: 412.8 kB / 0.8105 GB, free: 6.922 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/2.593, allocations: 0 / 0.8105 GB, free: 6.922 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/2.593, allocations: 16 kB / 0.8105 GB, free: 6.906 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/2.593, allocations: 8 kB / 0.8105 GB, free: 6.898 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005608/2.594, allocations: 294.3 kB / 0.8108 GB, free: 6.609 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/2.596, allocations: 1.988 MB / 0.8128 GB, free: 4.406 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/2.597, allocations: 209.4 kB / 0.8129 GB, free: 4.195 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/2.597, allocations: 80.83 kB / 0.813 GB, free: 4.113 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.458/3.055, allocations: 68.82 MB / 0.8802 GB, free: 276.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/3.055, allocations: 139.3 kB / 0.8804 GB, free: 276.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=21): time 4.147e-06/3.055, allocations: 0 / 0.8804 GB, free: 276.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21): time 0.001072/3.056, allocations: 333.8 kB / 0.8807 GB, free: 276.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/3.056, allocations: 57.22 kB / 0.8807 GB, free: 276.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/3.057, allocations: 371.6 kB / 0.8811 GB, free: 275.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/3.057, allocations: 33.33 kB / 0.8811 GB, free: 275.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/3.057, allocations: 245.3 kB / 0.8814 GB, free: 275.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.504e-05/3.057, allocations: 73.86 kB / 0.8814 GB, free: 275.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/3.057, allocations: 90.59 kB / 0.8815 GB, free: 275.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/3.057, allocations: 342.9 kB / 0.8818 GB, free: 275.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/3.057, allocations: 81.92 kB / 0.8819 GB, free: 275.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/3.058, allocations: 182.1 kB / 0.8821 GB, free: 274.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/3.058, allocations: 266.5 kB / 0.8824 GB, free: 274.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/3.058, allocations: 0 / 0.8824 GB, free: 274.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008044/3.059, allocations: 380.9 kB / 0.8827 GB, free: 274.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/3.059, allocations: 12.72 kB / 0.8827 GB, free: 274.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/3.059, allocations: 4 kB / 0.8827 GB, free: 274.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009822/3.06, allocations: 168.6 kB / 0.8829 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/3.06, allocations: 53.5 kB / 0.8829 GB, free: 274.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/3.062, allocations: 2.273 MB / 0.8852 GB, free: 271.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/3.062, allocations: 48.69 kB / 0.8852 GB, free: 271.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/3.062, allocations: 16 kB / 0.8852 GB, free: 271.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (sourceP1.C.ftype,puitsP1.fluid,checkValve.fluid,checkValve.libre,$whenCondition1,$whenCondition2,sourceP1.fluid1,sourceP1.C.diff_on_2,checkValve.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001955/3.062, allocations: 170.1 kB / 0.8854 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/3.062, allocations: 43.7 kB / 0.8854 GB, free: 271.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/3.063, allocations: 315.4 kB / 0.8857 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/3.063, allocations: 8 kB / 0.8857 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/3.063, allocations: 2.719 kB / 0.8857 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/3.063, allocations: 3.984 kB / 0.8857 GB, free: 271.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/3.063, allocations: 377.3 kB / 0.8861 GB, free: 270.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/3.063, allocations: 0 / 0.8861 GB, free: 270.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/3.064, allocations: 51.53 kB / 0.8862 GB, free: 270.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/3.064, allocations: 69.31 kB / 0.8862 GB, free: 270.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/3.064, allocations: 7.984 kB / 0.8862 GB, free: 270.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003133/3.064, allocations: 0.564 MB / 0.8868 GB, free: 270.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/3.064, allocations: 10.89 kB / 0.8868 GB, free: 270.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/3.065, allocations: 382.5 kB / 0.8872 GB, free: 269.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/3.065, allocations: 75.75 kB / 0.8872 GB, free: 269.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/3.065, allocations: 0 / 0.8872 GB, free: 269.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/3.065, allocations: 19.92 kB / 0.8872 GB, free: 269.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/3.066, allocations: 27.95 kB / 0.8873 GB, free: 269.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/3.066, allocations: 16.05 kB / 0.8873 GB, free: 269.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002413/3.066, allocations: 263.2 kB / 0.8875 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/3.066, allocations: 0 / 0.8875 GB, free: 269.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004188/3.07, allocations: 1.494 MB / 0.889 GB, free: 268.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (checkValve.omega,checkValve.theta) * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,checkValve.libre) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.007481/3.077, allocations: 2.208 MB / 0.8911 GB, free: 266.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009544/3.078, allocations: 355.8 kB / 0.8915 GB, free: 265.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/3.078, allocations: 0.875 kB / 0.8915 GB, free: 265.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/3.079, allocations: 102.4 kB / 0.8916 GB, free: 265.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/3.079, allocations: 83.58 kB / 0.8917 GB, free: 265.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/3.081, allocations: 0.8611 MB / 0.8925 GB, free: 264.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/3.081, allocations: 0.8185 MB / 0.8933 GB, free: 264.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/3.081, allocations: 35.42 kB / 0.8933 GB, free: 264 MB / 0.6856 GB Notification: Performance of SimCode: time 9.82e-07/3.081, allocations: 4 kB / 0.8933 GB, free: 264 MB / 0.6856 GB Notification: Performance of Templates: time 0.0414/3.123, allocations: 31.07 MB / 0.9237 GB, free: 233.5 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.76062063104473] Failed to read output from testmodel.py, exit status != 0: 3.2949756409507245 3.305482564 0.71783958 Calling exit ...