Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009708/0.0009708, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8961/0.8961, allocations: 177.2 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7439/0.7439, allocations: 154.5 MB / 414.5 MB, free: 0.8672 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.069e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03732/0.03735, allocations: 50 MB / 0.6681 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.05117, allocations: 9.779 MB / 0.6777 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/0.05366, allocations: 91.19 kB / 0.6778 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.05597, allocations: 0.916 MB / 0.6787 GB, free: 216 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.3641/0.4201, allocations: 2.132 MB / 0.6807 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004154/0.4242, allocations: 2.173 MB / 0.6829 GB, free: 44.97 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003525/0.4277, allocations: 3.859 MB / 0.6866 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000968/0.4287, allocations: 0.9804 MB / 0.6876 GB, free: 44.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.4315, allocations: 2.469 MB / 0.69 GB, free: 43.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.4325, allocations: 1.071 MB / 0.6911 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.4326, allocations: 107.2 kB / 0.6912 GB, free: 43.67 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.4348, allocations: 1.06 MB / 0.6922 GB, free: 43.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.4351, allocations: 409.7 kB / 0.6926 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.4356, allocations: 0.5681 MB / 0.6931 GB, free: 43.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.4382, allocations: 2.434 MB / 0.6955 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4382, allocations: 0 / 0.6955 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4382, allocations: 0 / 0.6955 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.4382, allocations: 0 / 0.6955 GB, free: 43.11 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002373/0.4406, allocations: 2.113 MB / 0.6976 GB, free: 42.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4406, allocations: 10.28 kB / 0.6976 GB, free: 42.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.4423, allocations: 0.6612 MB / 0.6982 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.4438, allocations: 1.075 MB / 0.6993 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.148e-05/0.4438, allocations: 86.86 kB / 0.6994 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.444, allocations: 113.8 kB / 0.6995 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.4459, allocations: 1.506 MB / 0.7009 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.4459, allocations: 6.531 kB / 0.7009 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.446, allocations: 44.28 kB / 0.701 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.446, allocations: 27.41 kB / 0.701 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.4479, allocations: 1.237 MB / 0.7022 GB, free: 41.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004739/0.4526, allocations: 6.392 MB / 0.7085 GB, free: 37.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.4545, allocations: 1.069 MB / 0.7095 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/0.4553, allocations: 0.5343 MB / 0.71 GB, free: 37.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/0.456, allocations: 282 kB / 0.7103 GB, free: 37.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.457, allocations: 0.6806 MB / 0.711 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 3.707e-06/0.457, allocations: 0 / 0.711 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.0032/0.4602, allocations: 1.8 MB / 0.7127 GB, free: 36.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.4602, allocations: 76.45 kB / 0.7128 GB, free: 36.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.4619, allocations: 1.401 MB / 0.7142 GB, free: 36.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.462, allocations: 43.52 kB / 0.7142 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.4624, allocations: 0.8152 MB / 0.715 GB, free: 36.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.4626, allocations: 309.3 kB / 0.7153 GB, free: 35.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.4629, allocations: 222.3 kB / 0.7155 GB, free: 35.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.4629, allocations: 352.4 kB / 0.7158 GB, free: 35.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/0.4638, allocations: 0.5226 MB / 0.7164 GB, free: 35.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.465, allocations: 1.134 MB / 0.7175 GB, free: 34.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.4672, allocations: 1.429 MB / 0.7189 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4672, allocations: 2.781 kB / 0.7189 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002745/0.4699, allocations: 1.612 MB / 0.7204 GB, free: 33.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.47, allocations: 9.562 kB / 0.7204 GB, free: 33.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.47, allocations: 12.05 kB / 0.7205 GB, free: 33.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.47, allocations: 17.12 kB / 0.7205 GB, free: 33.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.4708, allocations: 347.8 kB / 0.7208 GB, free: 33.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/0.4709, allocations: 30.34 kB / 0.7208 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/0.4717, allocations: 204.1 kB / 0.721 GB, free: 33.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.4718, allocations: 64.67 kB / 0.7211 GB, free: 33.16 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.0004544/0.4723, allocations: 349.6 kB / 0.7214 GB, free: 32.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.4724, allocations: 165.6 kB / 0.7216 GB, free: 32.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/0.4759, allocations: 2.174 MB / 0.7237 GB, free: 32.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.859e-05/0.476, allocations: 17.16 kB / 0.7237 GB, free: 32.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.476, allocations: 3.938 kB / 0.7237 GB, free: 32.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.476, allocations: 7.234 kB / 0.7237 GB, free: 32.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004415/0.4804, allocations: 3.117 MB / 0.7268 GB, free: 31.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.4804, allocations: 10.66 kB / 0.7268 GB, free: 31.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/0.481, allocations: 239.7 kB / 0.727 GB, free: 31.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.481, allocations: 9.938 kB / 0.727 GB, free: 31.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.357e-05/0.4811, allocations: 35.81 kB / 0.7271 GB, free: 31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.4811, allocations: 5.344 kB / 0.7271 GB, free: 31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.4811, allocations: 6.031 kB / 0.7271 GB, free: 31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/0.4852, allocations: 2.808 MB / 0.7298 GB, free: 29.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.4856, allocations: 323.5 kB / 0.7301 GB, free: 29.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.4857, allocations: 24.59 kB / 0.7301 GB, free: 29.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.4863, allocations: 121.4 kB / 0.7303 GB, free: 29.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.4864, allocations: 80.48 kB / 0.7303 GB, free: 29.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/0.4865, allocations: 49.98 kB / 0.7304 GB, free: 29.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001163/0.4877, allocations: 0.9327 MB / 0.7313 GB, free: 29.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4877, allocations: 0 / 0.7313 GB, free: 29.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001519/0.4892, allocations: 0.5711 MB / 0.7319 GB, free: 29.25 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 6 * 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.001489/0.4907, allocations: 0.8652 MB / 0.7327 GB, free: 29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002433/0.4931, allocations: 1.458 MB / 0.7341 GB, free: 28.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4931, allocations: 1.156 kB / 0.7341 GB, free: 28.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.4943, allocations: 0.7856 MB / 0.7349 GB, free: 28.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.4958, allocations: 0.6079 MB / 0.7355 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.4996, allocations: 3.196 MB / 0.7386 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.5002, allocations: 0.729 MB / 0.7393 GB, free: 26.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.5006, allocations: 173.9 kB / 0.7395 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of SimCode: time 1.173e-06/0.5006, allocations: 0 / 0.7395 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.03103/0.5317, allocations: 28.46 MB / 0.7673 GB, free: 15.97 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.861344174481928] Failed to read output from testmodel.py, exit status != 0: 0.5376214599236846 0.5431771879999999 0.103483817 Calling exit ...