Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.8621/0.8621, allocations: 120.4 MB / 140.1 MB, free: 28 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.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005509/0.0005509, allocations: 23.97 kB / 217.7 MB, free: 12.98 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05824/0.05879, allocations: 33.36 MB / 251.1 MB, free: 11.55 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.TestInvSingularPressureLoss): time 1.75/1.809, allocations: 254.1 MB / 0.4933 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2191/2.028, allocations: 164.8 MB / 0.6542 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/2.028, allocations: 11.94 kB / 0.6542 GB, free: 9.793 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourcePQ.mo:75:3-76: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/InvSingularPressureLoss.mo:30:3-31: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/InvSingularPressureLoss.mo:32:3-33: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.0001613/2.028, allocations: 44.08 kB / 0.6543 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000363/2.029, allocations: 115 kB / 0.6544 GB, free: 9.637 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.03014/2.059, allocations: 11.45 MB / 0.6656 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0005816/2.059, allocations: 390.7 kB / 0.6659 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/2.06, allocations: 169 kB / 0.6661 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/2.06, allocations: 171.3 kB / 0.6662 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/2.06, allocations: 147.3 kB / 0.6664 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/2.06, allocations: 36 kB / 0.6664 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3205/2.381, allocations: 18.6 MB / 0.6846 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/2.381, allocations: 88.86 kB / 0.6847 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/2.381, allocations: 161.8 kB / 0.6848 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01945/2.401, allocations: 9.796 MB / 0.6944 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/2.401, allocations: 0 / 0.6944 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.342e-06/2.401, allocations: 0 / 0.6944 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.267e-06/2.401, allocations: 0.5 kB / 0.6944 GB, free: 15.03 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.004937/2.406, allocations: 1.77 MB / 0.6961 GB, free: 14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/2.406, allocations: 9.75 kB / 0.6961 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/2.406, allocations: 48.66 kB / 0.6962 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/2.406, allocations: 250.3 kB / 0.6964 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/2.406, allocations: 27.28 kB / 0.6964 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/2.406, allocations: 30.42 kB / 0.6965 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/2.407, allocations: 359.7 kB / 0.6968 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/2.407, allocations: 4.406 kB / 0.6968 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/2.407, allocations: 16.69 kB / 0.6968 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/2.407, allocations: 8.75 kB / 0.6968 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/2.407, allocations: 231.5 kB / 0.6971 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07468/2.482, allocations: 21.92 MB / 0.7185 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/2.482, allocations: 62.67 kB / 0.7185 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/2.482, allocations: 27.91 kB / 0.7186 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2472/2.729, allocations: 67.13 MB / 0.7841 GB, free: 14.27 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/2.729, allocations: 34.56 kB / 0.7841 GB, free: 14.23 MB / 0.67 GB Notification: Performance of pre-optimization done (n=5): time 1.873e-06/2.729, allocations: 4 kB / 0.7842 GB, free: 14.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=5): time 0.0004723/2.73, allocations: 109.2 kB / 0.7843 GB, free: 14.13 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/2.73, allocations: 55.34 kB / 0.7843 GB, free: 14.07 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/2.73, allocations: 307.8 kB / 0.7846 GB, free: 13.81 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/2.73, allocations: 25.7 kB / 0.7846 GB, free: 13.78 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/2.73, allocations: 246 kB / 0.7849 GB, free: 13.57 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/2.73, allocations: 15.8 kB / 0.7849 GB, free: 13.55 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/2.731, allocations: 66.02 kB / 0.7849 GB, free: 13.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001622/2.731, allocations: 325.8 kB / 0.7853 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/2.731, allocations: 45.97 kB / 0.7853 GB, free: 13.15 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/2.731, allocations: 142.5 kB / 0.7854 GB, free: 12.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/2.731, allocations: 198.6 kB / 0.7856 GB, free: 12.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/2.731, allocations: 1.094 kB / 0.7856 GB, free: 12.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004881/2.732, allocations: 221.8 kB / 0.7858 GB, free: 12.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/2.732, allocations: 8 kB / 0.7858 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/2.732, allocations: 4 kB / 0.7858 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/2.732, allocations: 4 kB / 0.7858 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/2.733, allocations: 130.1 kB / 0.786 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/2.733, allocations: 4 kB / 0.786 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/2.733, allocations: 31.08 kB / 0.786 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/2.733, allocations: 12 kB / 0.786 GB, free: 12.45 MB / 0.67 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 (sourcePQ.C.ftype,sinkQ.fluid,invSingularPressureLoss.fluid,sourcePQ.fluid1,sourcePQ.C.diff_on_2,invSingularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002106/2.733, allocations: 160.6 kB / 0.7862 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/2.733, allocations: 20.95 kB / 0.7862 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/2.733, allocations: 113.8 kB / 0.7863 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/2.733, allocations: 3.938 kB / 0.7863 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/2.733, allocations: 4 kB / 0.7863 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/2.733, allocations: 0 / 0.7863 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2548/2.988, allocations: 65.71 MB / 0.8505 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/2.988, allocations: 0 / 0.8505 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/2.988, allocations: 20.56 kB / 0.8505 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/2.988, allocations: 4 kB / 0.8505 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/2.988, allocations: 0 / 0.8505 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/2.988, allocations: 7.938 kB / 0.8505 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/2.988, allocations: 0 / 0.8505 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/2.989, allocations: 143.8 kB / 0.8506 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/2.989, allocations: 40.86 kB / 0.8507 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/2.989, allocations: 4 kB / 0.8507 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/2.989, allocations: 15.92 kB / 0.8507 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/2.989, allocations: 0 / 0.8507 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/2.989, allocations: 7.312 kB / 0.8507 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002562/2.989, allocations: 206.1 kB / 0.8509 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/2.989, allocations: 0 / 0.8509 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004243/2.993, allocations: 1.47 MB / 0.8523 GB, free: 11.05 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.007646/3.001, allocations: 2.214 MB / 0.8545 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004686/3.002, allocations: 106.4 kB / 0.8546 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/3.002, allocations: 4.938 kB / 0.8546 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/3.002, allocations: 27.48 kB / 0.8546 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/3.002, allocations: 62.55 kB / 0.8547 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009856/3.003, allocations: 0.5032 MB / 0.8552 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/3.003, allocations: 168.1 kB / 0.8553 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001471/3.003, allocations: 43.17 kB / 0.8554 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/3.004, allocations: 28.48 kB / 0.8554 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/3.004, allocations: 0 / 0.8554 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.07182/3.075, allocations: 44.88 MB / 0.8992 GB, free: 11.52 MB / 0.7794 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.364233662956394] Failed to read output from testmodel.py, exit status != 0: 3.4339714529924095 3.445995666 1.0427074459999999 Calling exit ...