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.8674/0.8674, allocations: 120.4 MB / 140.1 MB, free: 24 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.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.0005347/0.0005347, allocations: 19.97 kB / 217.7 MB, free: 12.97 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05487/0.0554, allocations: 33.36 MB / 251.1 MB, free: 11.56 MB / 238.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 1.717/1.773, allocations: 254.3 MB / 0.4936 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2166/1.989, allocations: 165.1 MB / 0.6548 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/1.99, allocations: 15.88 kB / 0.6548 GB, free: 9.16 MB / 0.6075 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.0002465/1.99, allocations: 59.44 kB / 0.6549 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004217/1.99, allocations: 158.7 kB / 0.655 GB, free: 8.945 MB / 0.6075 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.03004/2.02, allocations: 11.63 MB / 0.6664 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0007611/2.021, allocations: 0.4948 MB / 0.6669 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/2.022, allocations: 209.2 kB / 0.6671 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003593/2.022, allocations: 223.1 kB / 0.6673 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/2.022, allocations: 191.1 kB / 0.6675 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.173e-05/2.022, allocations: 40 kB / 0.6675 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.31/2.332, allocations: 18.62 MB / 0.6857 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/2.332, allocations: 110.5 kB / 0.6858 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002757/2.333, allocations: 192.2 kB / 0.686 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02292/2.356, allocations: 9.894 MB / 0.6956 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/2.356, allocations: 1.062 kB / 0.6956 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.463e-06/2.356, allocations: 3.188 kB / 0.6956 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.698e-05/2.356, allocations: 3.891 kB / 0.6957 GB, free: 14.41 MB / 0.6231 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.005418/2.361, allocations: 1.924 MB / 0.6975 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/2.361, allocations: 9.422 kB / 0.6975 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/2.361, allocations: 65.86 kB / 0.6976 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/2.362, allocations: 292.2 kB / 0.6979 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/2.362, allocations: 86.75 kB / 0.698 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/2.362, allocations: 36.81 kB / 0.698 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/2.362, allocations: 408.4 kB / 0.6984 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/2.362, allocations: 3.953 kB / 0.6984 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/2.363, allocations: 19.34 kB / 0.6984 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/2.363, allocations: 10.75 kB / 0.6984 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/2.363, allocations: 283.7 kB / 0.6987 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/2.364, allocations: 1.213 MB / 0.6999 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/2.365, allocations: 210.3 kB / 0.7001 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/2.365, allocations: 78.92 kB / 0.7002 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2285/2.594, allocations: 69.1 MB / 0.7676 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/2.594, allocations: 147 kB / 0.7678 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 2.344e-06/2.594, allocations: 0 / 0.7678 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.001055/2.595, allocations: 322.1 kB / 0.7681 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/2.595, allocations: 55.39 kB / 0.7681 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/2.596, allocations: 358.6 kB / 0.7685 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/2.596, allocations: 32.83 kB / 0.7685 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/2.596, allocations: 245.9 kB / 0.7687 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/2.596, allocations: 77.47 kB / 0.7688 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/2.596, allocations: 81.91 kB / 0.7689 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001695/2.596, allocations: 340.9 kB / 0.7692 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/2.596, allocations: 79.61 kB / 0.7693 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/2.597, allocations: 180.7 kB / 0.7695 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/2.597, allocations: 268.5 kB / 0.7697 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/2.597, allocations: 7.844 kB / 0.7697 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000887/2.598, allocations: 380 kB / 0.7701 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/2.598, allocations: 8.062 kB / 0.7701 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/2.598, allocations: 4 kB / 0.7701 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/2.599, allocations: 185.8 kB / 0.7703 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/2.599, allocations: 46.59 kB / 0.7703 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/2.602, allocations: 2.24 MB / 0.7725 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/2.602, allocations: 51.2 kB / 0.7726 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/2.602, allocations: 15.62 kB / 0.7726 GB, free: 9.895 MB / 0.6544 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.0002278/2.602, allocations: 179.2 kB / 0.7727 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/2.603, allocations: 35.77 kB / 0.7728 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008075/2.603, allocations: 315.1 kB / 0.7731 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/2.603, allocations: 7.984 kB / 0.7731 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/2.603, allocations: 0 / 0.7731 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/2.603, allocations: 0 / 0.7731 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/2.604, allocations: 284.8 kB / 0.7734 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/2.604, allocations: 0 / 0.7734 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/2.604, allocations: 50.59 kB / 0.7734 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004628/2.604, allocations: 75.39 kB / 0.7735 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/2.604, allocations: 11.19 kB / 0.7735 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005017/2.605, allocations: 0.5606 MB / 0.774 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.605, allocations: 4.75 kB / 0.774 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000816/2.606, allocations: 387.3 kB / 0.7744 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/2.606, allocations: 57.84 kB / 0.7745 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/2.606, allocations: 7 kB / 0.7745 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/2.606, allocations: 11.98 kB / 0.7745 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/2.606, allocations: 34.7 kB / 0.7745 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/2.606, allocations: 7.984 kB / 0.7745 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000278/2.607, allocations: 247.3 kB / 0.7748 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/2.607, allocations: 0 / 0.7748 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00439/2.611, allocations: 1.497 MB / 0.7762 GB, free: 6.535 MB / 0.6544 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.007604/2.619, allocations: 2.211 MB / 0.7784 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009037/2.619, allocations: 349.9 kB / 0.7787 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.619, allocations: 0.875 kB / 0.7787 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/2.62, allocations: 107.1 kB / 0.7788 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/2.62, allocations: 85.53 kB / 0.7789 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/2.622, allocations: 0.8295 MB / 0.7797 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/2.622, allocations: 208.2 kB / 0.7799 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001889/2.622, allocations: 50.88 kB / 0.78 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.814e-05/2.622, allocations: 35.88 kB / 0.78 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of SimCode: time 4.2e-07/2.622, allocations: 0 / 0.78 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of Templates: time 0.0753/2.698, allocations: 47.18 MB / 0.8261 GB, free: 4.109 MB / 0.7012 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.563334004022181] Failed to read output from testmodel.py, exit status != 0: 2.8463495860341936 2.862218504 0.5031474220000001 Calling exit ...