Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.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.8029/0.8029, allocations: 111.6 MB / 131 MB, free: 5.098 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.594e-06/2.594e-06, allocations: 0 / 175.7 MB, free: 9.445 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.175e-05, allocations: 5.125 kB / 175.7 MB, free: 9.441 MB / 170.7 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.TestSingularPressureLoss): time 1.793/1.793, allocations: 254.7 MB / 430.5 MB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4393/2.232, allocations: 181.1 MB / 0.5973 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/2.232, allocations: 15.88 kB / 0.5973 GB, free: 10.97 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78: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:32:3-33:80: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/SingularPressureLoss.mo:22:3-23:80: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/SingularPressureLoss.mo:24:3-25:78: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.0001279/2.233, allocations: 39.58 kB / 0.5973 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003403/2.233, allocations: 122.9 kB / 0.5974 GB, free: 10.81 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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:56:5-56:88: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.03109/2.264, allocations: 11.57 MB / 0.6087 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000612/2.265, allocations: 394.5 kB / 0.6091 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/2.265, allocations: 165.1 kB / 0.6093 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/2.265, allocations: 223.5 kB / 0.6095 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/2.265, allocations: 119.6 kB / 0.6096 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/2.266, allocations: 28 kB / 0.6096 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0367/2.302, allocations: 18.64 MB / 0.6278 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/2.302, allocations: 91.61 kB / 0.6279 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/2.303, allocations: 127.7 kB / 0.628 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02651/2.329, allocations: 12.33 MB / 0.6401 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/2.329, allocations: 0 / 0.6401 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.603e-06/2.329, allocations: 0 / 0.6401 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.715e-06/2.329, allocations: 0 / 0.6401 GB, free: 15.05 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00469/2.334, allocations: 1.871 MB / 0.6419 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/2.334, allocations: 11.98 kB / 0.6419 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/2.334, allocations: 75.72 kB / 0.642 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/2.334, allocations: 270.7 kB / 0.6423 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/2.334, allocations: 25 kB / 0.6423 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/2.335, allocations: 31.94 kB / 0.6423 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006561/2.335, allocations: 382.5 kB / 0.6427 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/2.335, allocations: 0 / 0.6427 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/2.335, allocations: 12 kB / 0.6427 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/2.335, allocations: 11.94 kB / 0.6427 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/2.336, allocations: 214.4 kB / 0.6429 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00835/2.344, allocations: 3.434 MB / 0.6463 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/2.344, allocations: 63.08 kB / 0.6463 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/2.344, allocations: 19.69 kB / 0.6463 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1692/2.513, allocations: 44.25 MB / 0.6895 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/2.514, allocations: 38.7 kB / 0.6896 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.064e-06/2.514, allocations: 0 / 0.6896 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0007372/2.514, allocations: 153.9 kB / 0.6897 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/2.514, allocations: 59.34 kB / 0.6898 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/2.515, allocations: 394.1 kB / 0.6902 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/2.515, allocations: 25.7 kB / 0.6902 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/2.515, allocations: 290.7 kB / 0.6905 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/2.515, allocations: 23.83 kB / 0.6905 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/2.515, allocations: 75.27 kB / 0.6906 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002829/2.516, allocations: 0.5117 MB / 0.6911 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.794e-05/2.516, allocations: 35.98 kB / 0.6911 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/2.516, allocations: 175 kB / 0.6913 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/2.516, allocations: 241.2 kB / 0.6915 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/2.516, allocations: 8.562 kB / 0.6915 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005512/2.517, allocations: 246.2 kB / 0.6917 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/2.517, allocations: 8.469 kB / 0.6917 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/2.517, allocations: 8 kB / 0.6917 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007486/2.518, allocations: 87.59 kB / 0.6918 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/2.518, allocations: 36.61 kB / 0.6919 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007029/2.519, allocations: 0.8311 MB / 0.6927 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/2.519, allocations: 27.78 kB / 0.6927 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/2.519, allocations: 24.02 kB / 0.6927 GB, free: 8.652 MB / 0.6042 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 (singularPressureLoss.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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.0002169/2.519, allocations: 188.5 kB / 0.6929 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/2.519, allocations: 23.86 kB / 0.6929 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/2.519, allocations: 146.7 kB / 0.6931 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/2.519, allocations: 0 / 0.6931 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/2.519, allocations: 0 / 0.6931 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/2.519, allocations: 0 / 0.6931 GB, free: 8.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/2.52, allocations: 268.5 kB / 0.6933 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/2.52, allocations: 0 / 0.6933 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.625e-05/2.52, allocations: 4 kB / 0.6933 GB, free: 7.969 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/2.52, allocations: 67.48 kB / 0.6934 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/2.52, allocations: 0 / 0.6934 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006716/2.521, allocations: 0.8468 MB / 0.6942 GB, free: 7.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/2.521, allocations: 0 / 0.6942 GB, free: 7.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/2.521, allocations: 151.9 kB / 0.6944 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/2.521, allocations: 35.78 kB / 0.6944 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/2.521, allocations: 3.938 kB / 0.6944 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/2.521, allocations: 4.125 kB / 0.6944 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/2.521, allocations: 15.92 kB / 0.6944 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/2.521, allocations: 0 / 0.6944 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002867/2.522, allocations: 247 kB / 0.6947 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/2.522, allocations: 0 / 0.6947 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003952/2.526, allocations: 1.465 MB / 0.6961 GB, free: 5.078 MB / 0.6042 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 (2): * Single equations (assignments): 1 * 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.007574/2.533, allocations: 2.398 MB / 0.6984 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005326/2.534, allocations: 119.5 kB / 0.6985 GB, free: 2.547 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/2.534, allocations: 0 / 0.6985 GB, free: 2.547 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/2.534, allocations: 39.59 kB / 0.6986 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/2.534, allocations: 80.47 kB / 0.6987 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/2.535, allocations: 467.2 kB / 0.6991 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/2.536, allocations: 168.8 kB / 0.6993 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001072/2.536, allocations: 30.08 kB / 0.6993 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/2.536, allocations: 24.5 kB / 0.6993 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/2.536, allocations: 0 / 0.6993 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of Templates: time 0.1959/2.732, allocations: 46.32 MB / 0.7445 GB, free: 272.9 MB / 0.6198 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.932197988964617]