Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.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.001157/0.001157, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.002843, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001115/0.001115, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002496, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9405/0.9405, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08215/1.023, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.852/1.852, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5283/2.38, allocations: 127.1 MB / 0.7432 GB, free: 4.613 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7444 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.238e-05, allocations: 6.25 kB / 0.7444 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001929/0.001951, allocations: 1.346 MB / 0.7458 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0082/0.01015, allocations: 3.394 MB / 0.7491 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.01018, allocations: 0 / 0.7491 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.01019, allocations: 4.578 kB / 0.7491 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.47e-05/0.01022, allocations: 3.219 kB / 0.7491 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.01058, allocations: 111.3 kB / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.287e-05/0.01066, allocations: 35.86 kB / 0.7492 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.01069, allocations: 0 / 0.7492 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.446e-05/0.01075, allocations: 27.95 kB / 0.7492 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.01081, allocations: 19.92 kB / 0.7493 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.01082, allocations: 0.7188 kB / 0.7493 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.011, allocations: 68.44 kB / 0.7493 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.01102, allocations: 7.938 kB / 0.7493 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.01103, allocations: 8.531 kB / 0.7494 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.01118, allocations: 63.81 kB / 0.7494 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.526e-05/0.01119, allocations: 0.625 kB / 0.7494 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.522e-06/0.01119, allocations: 5.438 kB / 0.7494 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.01121, allocations: 0 / 0.7494 GB, free: 14.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003369/0.01458, allocations: 264.5 kB / 0.7497 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.01461, allocations: 8.031 kB / 0.7497 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.01474, allocations: 86.95 kB / 0.7498 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.021e-05/0.01481, allocations: 113.7 kB / 0.7499 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.01482, allocations: 0.9688 kB / 0.7499 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.01484, allocations: 12.97 kB / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.01495, allocations: 123.3 kB / 0.75 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.01496, allocations: 0.8438 kB / 0.75 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.01497, allocations: 4.125 kB / 0.75 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.01497, allocations: 0.5625 kB / 0.75 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.441e-05/0.01501, allocations: 17.39 kB / 0.75 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.079e-05/0.0151, allocations: 69.05 kB / 0.7501 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.764e-05/0.01517, allocations: 46.61 kB / 0.7501 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.01518, allocations: 12.86 kB / 0.7501 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/0.01558, allocations: 217.2 kB / 0.7504 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.01561, allocations: 47.62 kB / 0.7504 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.01561, allocations: 0 / 0.7504 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004432/0.01605, allocations: 226.9 kB / 0.7506 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.01608, allocations: 55.41 kB / 0.7507 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.01613, allocations: 115.9 kB / 0.7508 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.01615, allocations: 29.7 kB / 0.7508 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.01618, allocations: 88.09 kB / 0.7509 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.0162, allocations: 28.47 kB / 0.7509 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.01624, allocations: 25.72 kB / 0.7509 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.01632, allocations: 324.6 kB / 0.7512 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.01633, allocations: 4 kB / 0.7513 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.01636, allocations: 49.12 kB / 0.7513 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.01642, allocations: 63.77 kB / 0.7514 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01642, allocations: 0 / 0.7514 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.487e-05/0.01652, allocations: 81.47 kB / 0.7514 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.01653, allocations: 8 kB / 0.7514 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01653, allocations: 3.312 kB / 0.7514 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.01654, allocations: 4 kB / 0.7515 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.01661, allocations: 23.94 kB / 0.7515 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.01661, allocations: 4.062 kB / 0.7515 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.01664, allocations: 8 kB / 0.7515 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.01665, allocations: 0 / 0.7515 GB, free: 11.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (12): * Single equations (assignments): 12 * 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 5.679e-05/0.0167, allocations: 117.8 kB / 0.7516 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.01672, allocations: 7.938 kB / 0.7516 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.01675, allocations: 9.719 kB / 0.7516 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01675, allocations: 4 kB / 0.7516 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01675, allocations: 0 / 0.7516 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.01676, allocations: 0 / 0.7516 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.01691, allocations: 82.53 kB / 0.7517 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.01691, allocations: 0 / 0.7517 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.01698, allocations: 21.67 kB / 0.7517 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.017, allocations: 7.938 kB / 0.7517 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.017, allocations: 0 / 0.7517 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.01701, allocations: 11.94 kB / 0.7517 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.01701, allocations: 9.547 kB / 0.7517 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01701, allocations: 0 / 0.7517 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.01712, allocations: 155.5 kB / 0.7519 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003014/0.02014, allocations: 3.938 kB / 0.7519 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.0202, allocations: 9.344 kB / 0.7519 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.02022, allocations: 3.984 kB / 0.7519 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.02022, allocations: 4 kB / 0.7519 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.163e-05/0.02024, allocations: 9.828 kB / 0.7519 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.02024, allocations: 0 / 0.7519 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001891/0.02043, allocations: 21.06 kB / 0.7519 GB, free: 11.42 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001029/0.02053, allocations: 77.48 kB / 0.752 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.028e-05/0.02061, allocations: 45.27 kB / 0.7521 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.02061, allocations: 4.766 kB / 0.7521 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.02063, allocations: 16.86 kB / 0.7521 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.02079, allocations: 12.5 kB / 0.7521 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.02189, allocations: 187.3 kB / 0.7523 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.8e-05/0.02193, allocations: 63.88 kB / 0.7523 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.02197, allocations: 8.969 kB / 0.7523 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.02203, allocations: 67.36 kB / 0.7524 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.02203, allocations: 0 / 0.7524 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.005527/0.02756, allocations: 0.7515 MB / 0.7531 GB, free: 10.19 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.673422344960272]