Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.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.9689/0.9689, allocations: 153.8 MB / 173.4 MB, free: 4.879 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.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005434/0.0005434, allocations: 15.97 kB / 251 MB, free: 3.902 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1547, allocations: 33.35 MB / 284.4 MB, free: 2.059 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.TestInvSingularPressureLoss): time 1.89/2.044, allocations: 307.4 MB / 0.5779 GB, free: 17.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03374/2.078, allocations: 30.48 MB / 0.6077 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/2.078, allocations: 3.781 kB / 0.6077 GB, free: 2.918 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52: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/InvSingularPressureLoss.mo:26:3-28: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/InvSingularPressureLoss.mo:29:3-30:83: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.0003929/2.079, allocations: 96.72 kB / 0.6078 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/2.079, allocations: 88.44 kB / 0.6079 GB, free: 2.816 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.02498/2.104, allocations: 9.682 MB / 0.6173 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005368/2.104, allocations: 270.8 kB / 0.6176 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/2.105, allocations: 92.42 kB / 0.6177 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/2.105, allocations: 123.5 kB / 0.6178 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/2.105, allocations: 87.5 kB / 0.6179 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/2.105, allocations: 19.81 kB / 0.6179 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03301/2.138, allocations: 16.76 MB / 0.6343 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/2.138, allocations: 35.86 kB / 0.6343 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/2.138, allocations: 91.55 kB / 0.6344 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01928/2.158, allocations: 8.408 MB / 0.6426 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/2.158, allocations: 0 / 0.6426 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/2.158, allocations: 0 / 0.6426 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.675e-06/2.158, allocations: 0 / 0.6426 GB, free: 3.004 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003686/2.161, allocations: 1.372 MB / 0.6439 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/2.161, allocations: 13.06 kB / 0.6439 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/2.161, allocations: 29.12 kB / 0.644 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/2.162, allocations: 153.8 kB / 0.6441 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/2.162, allocations: 16.31 kB / 0.6441 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/2.162, allocations: 20 kB / 0.6442 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/2.162, allocations: 269.6 kB / 0.6444 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/2.162, allocations: 0 / 0.6444 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/2.162, allocations: 4 kB / 0.6444 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/2.162, allocations: 23.92 kB / 0.6444 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/2.162, allocations: 145.9 kB / 0.6446 GB, free: 0.8867 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.01944/2.182, allocations: 5.779 MB / 0.6502 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/2.182, allocations: 67.3 kB / 0.6503 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/2.182, allocations: 44.89 kB / 0.6503 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1581/2.34, allocations: 43.57 MB / 0.6929 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/2.34, allocations: 42.42 kB / 0.6929 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/2.34, allocations: 0 / 0.6929 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0005311/2.341, allocations: 199.4 kB / 0.6931 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/2.341, allocations: 51.41 kB / 0.6932 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/2.341, allocations: 159.1 kB / 0.6933 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/2.341, allocations: 26.64 kB / 0.6933 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/2.341, allocations: 160.6 kB / 0.6935 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/2.341, allocations: 71.39 kB / 0.6936 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/2.341, allocations: 45.64 kB / 0.6936 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001491/2.341, allocations: 326.8 kB / 0.6939 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/2.342, allocations: 52.92 kB / 0.694 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/2.342, allocations: 92.14 kB / 0.6941 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/2.342, allocations: 156.1 kB / 0.6942 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/2.342, allocations: 4 kB / 0.6942 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000358/2.342, allocations: 186.3 kB / 0.6944 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/2.342, allocations: 12.83 kB / 0.6944 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/2.342, allocations: 0 / 0.6944 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/2.342, allocations: 0 / 0.6944 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/2.343, allocations: 108.6 kB / 0.6945 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/2.343, allocations: 0 / 0.6945 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/2.343, allocations: 19.83 kB / 0.6945 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/2.343, allocations: 4 kB / 0.6945 GB, free: 13.55 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 (invSingularPressureLoss.C2.b,invSingularPressureLoss.C1.a,sinkQ.C.a,sourcePQ.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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000123/2.343, allocations: 130.5 kB / 0.6946 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/2.343, allocations: 19.83 kB / 0.6947 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004927/2.344, allocations: 335 kB / 0.695 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000257/2.344, allocations: 163.3 kB / 0.6951 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/2.344, allocations: 0 / 0.6951 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/2.344, allocations: 0 / 0.6951 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008205/2.345, allocations: 0.5195 MB / 0.6956 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/2.345, allocations: 0 / 0.6956 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/2.346, allocations: 99.86 kB / 0.6957 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/2.346, allocations: 0 / 0.6957 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/2.346, allocations: 6.5 kB / 0.6957 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/2.346, allocations: 3.984 kB / 0.6958 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/2.346, allocations: 0 / 0.6958 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/2.346, allocations: 276.1 kB / 0.696 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/2.346, allocations: 27.83 kB / 0.696 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/2.346, allocations: 8 kB / 0.6961 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/2.346, allocations: 7.984 kB / 0.6961 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/2.346, allocations: 12.67 kB / 0.6961 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/2.346, allocations: 11.94 kB / 0.6961 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001412/2.346, allocations: 147.2 kB / 0.6962 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.346, allocations: 0.8438 kB / 0.6962 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00316/2.35, allocations: 1.2 MB / 0.6974 GB, free: 10.51 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006188/2.356, allocations: 1.734 MB / 0.6991 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005311/2.356, allocations: 187.4 kB / 0.6993 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.356, allocations: 256 / 0.6993 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/2.356, allocations: 77.92 kB / 0.6993 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/2.357, allocations: 76.64 kB / 0.6994 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008616/2.358, allocations: 486.8 kB / 0.6999 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/2.358, allocations: 142.5 kB / 0.7 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/2.358, allocations: 24.64 kB / 0.7 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/2.358, allocations: 0 / 0.7 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.03497/2.393, allocations: 23.13 MB / 0.7226 GB, free: 1.02 MB / 0.5762 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.00324774486944] Failed to read output from testmodel.py, exit status != 0: 2.553567664232105 2.568500132 0.407717969 Calling exit ...