Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 303.4 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009623/0.0009626, allocations: 178.9 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009582/0.000958, allocations: 92.64 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 10.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2398, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001247/0.2411, allocations: 0.9706 MB / 0.9805 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003189/0.2443, allocations: 3.061 MB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.2444, allocations: 0 / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.2444, allocations: 3.938 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.188e-05/0.2445, allocations: 3.984 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.2451, allocations: 87.56 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.26e-05/0.2452, allocations: 31.86 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.2452, allocations: 0 / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.2453, allocations: 19.97 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.2453, allocations: 19.92 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2454, allocations: 4 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.2456, allocations: 55.83 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.2456, allocations: 7.938 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.2456, allocations: 33.7 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2457, allocations: 36.11 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2458, allocations: 4 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2458, allocations: 3.938 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2458, allocations: 0 / 0.9838 GB, free: 23.32 MB / 0.6198 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.0003317/0.2461, allocations: 339.3 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2462, allocations: 16.02 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.2463, allocations: 7.953 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.73e-05/0.2464, allocations: 163 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2464, allocations: 4 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.2464, allocations: 4 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.2465, allocations: 57.66 kB / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2466, allocations: 0 / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.2466, allocations: 4 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2466, allocations: 4 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.2466, allocations: 19.91 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.2468, allocations: 165.6 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.113e-05/0.2469, allocations: 50.56 kB / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.2469, allocations: 20.84 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/0.2476, allocations: 0.5871 MB / 0.9852 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.2476, allocations: 38.56 kB / 0.9852 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.2476, allocations: 0 / 0.9852 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005612/0.2482, allocations: 306.1 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.2482, allocations: 55.39 kB / 0.9856 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.051e-05/0.2483, allocations: 97.86 kB / 0.9857 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.2483, allocations: 25.7 kB / 0.9857 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.2483, allocations: 91.98 kB / 0.9858 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.2483, allocations: 27.55 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.2484, allocations: 8 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.2484, allocations: 310.8 kB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.2485, allocations: 19.98 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.192e-05/0.2485, allocations: 49.14 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.2485, allocations: 28.11 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2486, allocations: 0 / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001214/0.2487, allocations: 93.55 kB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2487, allocations: 9.672 kB / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2487, allocations: 4.438 kB / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2487, allocations: 0 / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.2488, allocations: 23.98 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2488, allocations: 4 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.2489, allocations: 7.938 kB / 0.9863 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.2489, allocations: 4 kB / 0.9863 GB, free: 20.33 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.249, allocations: 121.9 kB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.249, allocations: 7.906 kB / 0.9865 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.2491, allocations: 11.92 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2491, allocations: 0 / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2491, allocations: 0 / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2491, allocations: 3.984 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.2493, allocations: 173.7 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2493, allocations: 0 / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.2494, allocations: 19.98 kB / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2494, allocations: 0 / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.2494, allocations: 4 kB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2494, allocations: 4.031 kB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2495, allocations: 3.984 kB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.2496, allocations: 171.5 kB / 0.9868 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.2497, allocations: 84.95 kB / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2497, allocations: 8.031 kB / 0.9869 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2498, allocations: 4 kB / 0.9869 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.2498, allocations: 11.95 kB / 0.9869 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.2498, allocations: 0 / 0.9869 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.24e-05/0.2499, allocations: 83.27 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2499, allocations: 0 / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002401/0.2501, allocations: 12 kB / 0.987 GB, free: 19.52 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001286/0.2502, allocations: 105.5 kB / 0.9871 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.2504, allocations: 36.11 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2504, allocations: 4.062 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.2504, allocations: 27.91 kB / 0.9872 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.2507, allocations: 4 kB / 0.9872 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.2512, allocations: 382.9 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.2514, allocations: 0.6848 MB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.451e-05/0.2514, allocations: 7.984 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.2514, allocations: 11.44 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.2514, allocations: 0 / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.00265/0.2541, allocations: 0.5662 MB / 0.9888 GB, free: 17.65 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)