Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.8486/0.8486, allocations: 120.3 MB / 139.5 MB, free: 476 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.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 217.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.168e-05, allocations: 9.953 kB / 217.2 MB, free: 13.71 MB / 206.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.Examples.SimpleExamples.TestDynamicCheckValve): time 1.515/1.515, allocations: 254.5 MB / 471.7 MB, free: 10.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2381/1.753, allocations: 30.9 MB / 0.4908 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/1.753, allocations: 2.75 kB / 0.4908 GB, free: 7.516 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/DynamicCheckValve.mo:61:3-63:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/DynamicCheckValve.mo:64:3-65:51:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004311/1.754, allocations: 124.4 kB / 0.491 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/1.754, allocations: 158.2 kB / 0.4911 GB, free: 7.305 MB / 446.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.02718/1.781, allocations: 9.95 MB / 0.5008 GB, free: 480 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007246/1.782, allocations: 475.3 kB / 0.5013 GB, free: 4 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/1.782, allocations: 133.1 kB / 0.5014 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004406/1.783, allocations: 280.3 kB / 0.5017 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/1.783, allocations: 127.6 kB / 0.5018 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/1.783, allocations: 24.69 kB / 0.5018 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03217/1.815, allocations: 16.8 MB / 0.5182 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/1.815, allocations: 71.62 kB / 0.5183 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/1.815, allocations: 115.7 kB / 0.5184 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02303/1.839, allocations: 10.9 MB / 0.5291 GB, free: 3.547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.839, allocations: 1.312 kB / 0.5291 GB, free: 3.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/1.839, allocations: 3.938 kB / 0.5291 GB, free: 3.543 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/1.839, allocations: 0.75 kB / 0.5291 GB, free: 3.543 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004344/1.843, allocations: 1.554 MB / 0.5306 GB, free: 1.949 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/1.843, allocations: 8.594 kB / 0.5306 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/1.843, allocations: 50.11 kB / 0.5306 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/1.843, allocations: 204.6 kB / 0.5308 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.468e-05/1.844, allocations: 72.69 kB / 0.5309 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/1.844, allocations: 24 kB / 0.5309 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/1.844, allocations: 355.3 kB / 0.5313 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.844, allocations: 8.594 kB / 0.5313 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/1.844, allocations: 8.969 kB / 0.5313 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/1.844, allocations: 15.98 kB / 0.5313 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/1.845, allocations: 230.8 kB / 0.5315 GB, free: 0.9336 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02023/1.865, allocations: 6.023 MB / 0.5374 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007592/1.866, allocations: 251.6 kB / 0.5376 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/1.866, allocations: 120.9 kB / 0.5378 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1787/2.045, allocations: 48.41 MB / 0.585 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004606/2.045, allocations: 225.8 kB / 0.5852 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.004e-06/2.045, allocations: 0 / 0.5852 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.001225/2.046, allocations: 488 kB / 0.5857 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/2.046, allocations: 85.11 kB / 0.5858 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/2.047, allocations: 221.8 kB / 0.586 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/2.047, allocations: 33.64 kB / 0.586 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/2.047, allocations: 169 kB / 0.5862 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/2.047, allocations: 166.5 kB / 0.5864 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/2.047, allocations: 61.92 kB / 0.5864 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001632/2.047, allocations: 342.8 kB / 0.5867 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/2.047, allocations: 108.7 kB / 0.5868 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/2.048, allocations: 163.7 kB / 0.587 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/2.048, allocations: 300.7 kB / 0.5873 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/2.048, allocations: 0 / 0.5873 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009158/2.049, allocations: 425.5 kB / 0.5877 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/2.049, allocations: 8 kB / 0.5877 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/2.049, allocations: 0 / 0.5877 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/2.05, allocations: 197.6 kB / 0.5879 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/2.05, allocations: 28.67 kB / 0.5879 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/2.053, allocations: 2.301 MB / 0.5902 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/2.053, allocations: 43.69 kB / 0.5902 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/2.053, allocations: 12.55 kB / 0.5902 GB, free: 4.562 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (checkValve.C2.b,checkValve.C1.a,puitsP1.C.a,sourceP1.C.b,checkValve.libre,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001838/2.053, allocations: 153.9 kB / 0.5904 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/2.053, allocations: 28.44 kB / 0.5904 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000921/2.054, allocations: 0.5732 MB / 0.591 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005932/2.055, allocations: 360.1 kB / 0.5913 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/2.055, allocations: 3.938 kB / 0.5913 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/2.055, allocations: 3.984 kB / 0.5913 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/2.056, allocations: 0.8567 MB / 0.5921 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/2.056, allocations: 4.562 kB / 0.5921 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/2.057, allocations: 59.91 kB / 0.5922 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/2.057, allocations: 110.3 kB / 0.5923 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/2.057, allocations: 8 kB / 0.5923 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005754/2.058, allocations: 0.631 MB / 0.5929 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/2.058, allocations: 32 / 0.5929 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/2.059, allocations: 0.6569 MB / 0.5936 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/2.059, allocations: 51.69 kB / 0.5936 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/2.059, allocations: 20.02 kB / 0.5936 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/2.059, allocations: 16.61 kB / 0.5937 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/2.059, allocations: 31.94 kB / 0.5937 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/2.059, allocations: 14.98 kB / 0.5937 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002121/2.059, allocations: 197.2 kB / 0.5939 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/2.059, allocations: 0 / 0.5939 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003337/2.063, allocations: 1.232 MB / 0.5951 GB, free: 15.43 MB / 0.545 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.006286/2.069, allocations: 1.909 MB / 0.597 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001171/2.07, allocations: 476 kB / 0.5974 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/2.07, allocations: 0 / 0.5974 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000484/2.071, allocations: 181.4 kB / 0.5976 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/2.072, allocations: 123.5 kB / 0.5977 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/2.073, allocations: 0.7811 MB / 0.5985 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/2.073, allocations: 208.1 kB / 0.5987 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001455/2.074, allocations: 33.33 kB / 0.5987 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.168e-05/2.074, allocations: 28.48 kB / 0.5987 GB, free: 11.67 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/2.074, allocations: 4 kB / 0.5987 GB, free: 11.67 MB / 0.545 GB Notification: Performance of Templates: time 0.066/2.14, allocations: 43.84 MB / 0.6415 GB, free: 92 kB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.599925860762596] Failed to read output from testmodel.py, exit status != 0: 2.4924889020621777 2.502541474 0.6614416280000001 Calling exit ...