Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.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.8721/0.8721, allocations: 153.8 MB / 172.7 MB, free: 4.855 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.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005649/0.0005649, allocations: 15.97 kB / 250.3 MB, free: 3.883 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1643, allocations: 33.36 MB / 283.7 MB, free: 2.055 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.Examples.SimpleExamples.TestPipePressureLoss): time 1.902/2.067, allocations: 307.6 MB / 0.5774 GB, free: 17.33 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03208/2.099, allocations: 30.52 MB / 0.6072 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/2.099, allocations: 2.312 kB / 0.6072 GB, free: 2.832 MB / 478.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/PipePressureLoss.mo:35:3-37:42: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/PipePressureLoss.mo:38:3-40:37: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.0004371/2.099, allocations: 109.6 kB / 0.6073 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/2.1, allocations: 125.2 kB / 0.6074 GB, free: 2.699 MB / 478.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.02557/2.125, allocations: 9.679 MB / 0.6168 GB, free: 13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005992/2.126, allocations: 350.9 kB / 0.6172 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/2.126, allocations: 96.5 kB / 0.6173 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/2.126, allocations: 155.3 kB / 0.6174 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/2.127, allocations: 103.4 kB / 0.6175 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/2.127, allocations: 16.72 kB / 0.6175 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03456/2.161, allocations: 16.77 MB / 0.6339 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/2.161, allocations: 47.8 kB / 0.634 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/2.161, allocations: 103.5 kB / 0.6341 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02039/2.182, allocations: 8.439 MB / 0.6423 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/2.182, allocations: 4 kB / 0.6423 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/2.182, allocations: 0 / 0.6423 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.737e-06/2.182, allocations: 0 / 0.6423 GB, free: 2.895 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003891/2.186, allocations: 1.407 MB / 0.6437 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/2.186, allocations: 12.03 kB / 0.6437 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/2.186, allocations: 27.81 kB / 0.6437 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/2.186, allocations: 180.7 kB / 0.6439 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/2.186, allocations: 16.44 kB / 0.6439 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/2.186, allocations: 20 kB / 0.6439 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/2.187, allocations: 299.4 kB / 0.6442 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/2.187, allocations: 5.672 kB / 0.6442 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/2.187, allocations: 12 kB / 0.6442 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/2.187, allocations: 12.98 kB / 0.6442 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/2.187, allocations: 169.2 kB / 0.6444 GB, free: 0.6641 MB / 0.4981 GB 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.03831/2.225, allocations: 10.78 MB / 0.6549 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/2.226, allocations: 110.6 kB / 0.655 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/2.226, allocations: 72.84 kB / 0.6551 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1623/2.388, allocations: 43.58 MB / 0.6977 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/2.388, allocations: 30.56 kB / 0.6977 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/2.388, allocations: 1.031 kB / 0.6977 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001031/2.389, allocations: 369.3 kB / 0.698 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/2.389, allocations: 51.41 kB / 0.6981 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/2.389, allocations: 179 kB / 0.6983 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/2.389, allocations: 29.7 kB / 0.6983 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/2.39, allocations: 164.5 kB / 0.6984 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.857e-05/2.39, allocations: 115 kB / 0.6985 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/2.39, allocations: 41.7 kB / 0.6986 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001694/2.39, allocations: 334.8 kB / 0.6989 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/2.39, allocations: 75.97 kB / 0.699 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/2.39, allocations: 120.3 kB / 0.6991 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/2.39, allocations: 210.5 kB / 0.6993 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/2.39, allocations: 4 kB / 0.6993 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004844/2.391, allocations: 293.7 kB / 0.6996 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/2.391, allocations: 7.938 kB / 0.6996 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/2.391, allocations: 4 kB / 0.6996 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009357/2.392, allocations: 164.8 kB / 0.6997 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/2.392, allocations: 11.94 kB / 0.6998 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005949/2.393, allocations: 0.6293 MB / 0.7004 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/2.393, allocations: 31.88 kB / 0.7004 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/2.393, allocations: 4.844 kB / 0.7004 GB, free: 7.074 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (pipePressureLoss.C2.b,pipePressureLoss.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001405/2.393, allocations: 138.8 kB / 0.7005 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/2.393, allocations: 15.86 kB / 0.7006 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008152/2.394, allocations: 0.5885 MB / 0.7011 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004429/2.394, allocations: 222.3 kB / 0.7013 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.394, allocations: 0.75 kB / 0.7013 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/2.394, allocations: 4 kB / 0.7013 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009965/2.395, allocations: 0.6214 MB / 0.702 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/2.395, allocations: 5.25 kB / 0.702 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/2.395, allocations: 12 kB / 0.702 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/2.396, allocations: 120.7 kB / 0.7021 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/2.396, allocations: 8 kB / 0.7021 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000564/2.396, allocations: 0.6556 MB / 0.7027 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/2.396, allocations: 4.562 kB / 0.7027 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/2.397, allocations: 337.8 kB / 0.7031 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/2.397, allocations: 27.83 kB / 0.7031 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/2.397, allocations: 7.891 kB / 0.7031 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/2.397, allocations: 9.312 kB / 0.7031 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/2.397, allocations: 13.28 kB / 0.7031 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/2.397, allocations: 5.125 kB / 0.7031 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002328/2.397, allocations: 208.5 kB / 0.7033 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.397, allocations: 0 / 0.7033 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002961/2.4, allocations: 1.208 MB / 0.7045 GB, free: 2.715 MB / 0.5606 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 (11): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00536/2.405, allocations: 1.743 MB / 0.7062 GB, free: 1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005373/2.406, allocations: 211.2 kB / 0.7064 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/2.406, allocations: 4 kB / 0.7064 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/2.406, allocations: 75.89 kB / 0.7065 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/2.407, allocations: 110.3 kB / 0.7066 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009441/2.408, allocations: 0.5159 MB / 0.7071 GB, free: 76 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/2.408, allocations: 164.8 kB / 0.7072 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.295e-05/2.408, allocations: 19.91 kB / 0.7073 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/2.408, allocations: 15.44 kB / 0.7073 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/2.408, allocations: 0 / 0.7073 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.06221/2.47, allocations: 42.17 MB / 0.7485 GB, free: 6.145 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.65733983926475] Failed to read output from testmodel.py, exit status != 0: 2.840284835547209 2.850626197 0.66632649 Calling exit ...