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.001007/0.001007, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002414, allocations: 449.8 kB / 10.44 MB, free: 248 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.0007618/0.0007618, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.002277, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.9296/0.9296, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.03, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.862/1.862, allocations: 390 MB / 0.6193 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5034/2.365, allocations: 127.1 MB / 0.7435 GB, free: 4.504 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 2.054e-06/2.054e-06, allocations: 0 / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.447e-05, allocations: 4.828 kB / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003028/0.003052, allocations: 1.35 MB / 0.7461 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004339/0.007391, allocations: 3.39 MB / 0.7494 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.007428, allocations: 0 / 0.7494 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.007441, allocations: 3.938 kB / 0.7494 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.007479, allocations: 6.5 kB / 0.7494 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.008001, allocations: 103.4 kB / 0.7495 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.008094, allocations: 35.84 kB / 0.7495 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.008141, allocations: 9.047 kB / 0.7496 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.008224, allocations: 31.91 kB / 0.7496 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.008296, allocations: 11.98 kB / 0.7496 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.00831, allocations: 2.938 kB / 0.7496 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.008555, allocations: 75.69 kB / 0.7497 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.008577, allocations: 4 kB / 0.7497 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.008601, allocations: 8 kB / 0.7497 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.008787, allocations: 59.81 kB / 0.7497 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.008802, allocations: 0 / 0.7497 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.008803, allocations: 0 / 0.7497 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.008818, allocations: 0 / 0.7497 GB, free: 14.18 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.0004652/0.009283, allocations: 260.3 kB / 0.75 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.009324, allocations: 12.03 kB / 0.75 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.009514, allocations: 89.97 kB / 0.7501 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.00962, allocations: 121.7 kB / 0.7502 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.009636, allocations: 4.375 kB / 0.7502 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.009667, allocations: 4.375 kB / 0.7502 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.00982, allocations: 135.3 kB / 0.7503 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.009829, allocations: 192 / 0.7503 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.009841, allocations: 4.125 kB / 0.7503 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.009848, allocations: 0.5312 kB / 0.7503 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.009888, allocations: 12.7 kB / 0.7504 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.01001, allocations: 65.05 kB / 0.7504 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.01009, allocations: 47.16 kB / 0.7505 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.01011, allocations: 16.84 kB / 0.7505 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/0.01063, allocations: 221.7 kB / 0.7507 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.01067, allocations: 38.48 kB / 0.7507 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 2.705e-06/0.01067, allocations: 1.031 kB / 0.7507 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0006649/0.01134, allocations: 234.5 kB / 0.751 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.01137, allocations: 56.34 kB / 0.751 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.01173, allocations: 114.6 kB / 0.7511 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.01174, allocations: 25.7 kB / 0.7511 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.01179, allocations: 85.41 kB / 0.7512 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.01181, allocations: 31.73 kB / 0.7513 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.01185, allocations: 25.7 kB / 0.7513 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.01195, allocations: 319.6 kB / 0.7516 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.01197, allocations: 7.984 kB / 0.7516 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.01201, allocations: 42.56 kB / 0.7516 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.139e-05/0.01208, allocations: 69.58 kB / 0.7517 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01208, allocations: 4.906 kB / 0.7517 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001119/0.01219, allocations: 79.2 kB / 0.7518 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.01221, allocations: 4 kB / 0.7518 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01221, allocations: 0 / 0.7518 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01223, allocations: 4 kB / 0.7518 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.01231, allocations: 28.55 kB / 0.7518 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.01231, allocations: 0 / 0.7518 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.01235, allocations: 5.594 kB / 0.7518 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.01235, allocations: 4 kB / 0.7518 GB, free: 11.8 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 7.017e-05/0.01242, allocations: 117.7 kB / 0.7519 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.01245, allocations: 13.39 kB / 0.7519 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.01248, allocations: 12.12 kB / 0.752 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01249, allocations: 4.953 kB / 0.752 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01249, allocations: 0 / 0.752 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01249, allocations: 0 / 0.752 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.01268, allocations: 91.03 kB / 0.752 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01268, allocations: 0 / 0.752 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.346e-05/0.01276, allocations: 19.98 kB / 0.7521 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.01278, allocations: 4.781 kB / 0.7521 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01278, allocations: 4 kB / 0.7521 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.01279, allocations: 1.344 kB / 0.7521 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01279, allocations: 0 / 0.7521 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01279, allocations: 0 / 0.7521 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.01296, allocations: 163.4 kB / 0.7522 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.01297, allocations: 5.062 kB / 0.7522 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.01304, allocations: 4 kB / 0.7522 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.01306, allocations: 3.984 kB / 0.7522 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.01307, allocations: 9.062 kB / 0.7523 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.548e-05/0.01308, allocations: 4.859 kB / 0.7523 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01308, allocations: 0 / 0.7523 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002274/0.01331, allocations: 12.5 kB / 0.7523 GB, free: 11.29 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.0001466/0.01346, allocations: 82.7 kB / 0.7524 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.01356, allocations: 41.31 kB / 0.7524 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.01357, allocations: 4 kB / 0.7524 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.0136, allocations: 30.14 kB / 0.7524 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01382, allocations: 10.03 kB / 0.7524 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.01521, allocations: 189.4 kB / 0.7526 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.01525, allocations: 63.34 kB / 0.7527 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.887e-05/0.0153, allocations: 10.77 kB / 0.7527 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.01538, allocations: 63.38 kB / 0.7527 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/0.01538, allocations: 0 / 0.7527 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of Templates: time 0.003014/0.01839, allocations: 0.7393 MB / 0.7535 GB, free: 10.07 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.795714341104031]