Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 108.5 kB / 16.37 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 193.4 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 71.03 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1967, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002103/0.1988, allocations: 1.256 MB / 0.786 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3274/0.5262, allocations: 3.267 MB / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.5263, allocations: 2.625 kB / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.5263, allocations: 0 / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.5264, allocations: 3 kB / 0.7892 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.5268, allocations: 110.3 kB / 0.7893 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.5269, allocations: 28.86 kB / 0.7893 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.137e-05/0.5269, allocations: 5.922 kB / 0.7893 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.527, allocations: 23.66 kB / 0.7894 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.527, allocations: 10.64 kB / 0.7894 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.527, allocations: 3.406 kB / 0.7894 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.5273, allocations: 82.25 kB / 0.7894 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.5273, allocations: 10.66 kB / 0.7895 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.5273, allocations: 18.06 kB / 0.7895 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.5275, allocations: 68.7 kB / 0.7895 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5275, allocations: 1.438 kB / 0.7895 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5275, allocations: 2.75 kB / 0.7895 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.5275, allocations: 0 / 0.7895 GB, free: 46.52 MB / 0.6544 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.0002916/0.5278, allocations: 348.2 kB / 0.7899 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5278, allocations: 8.938 kB / 0.7899 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.5279, allocations: 10.69 kB / 0.7899 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.132e-05/0.528, allocations: 163.5 kB / 0.7901 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.528, allocations: 2.875 kB / 0.7901 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.528, allocations: 7.469 kB / 0.7901 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.5281, allocations: 58.41 kB / 0.7901 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.5282, allocations: 1.344 kB / 0.7901 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.5282, allocations: 2.656 kB / 0.7901 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5282, allocations: 0 / 0.7901 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.5282, allocations: 24.02 kB / 0.7901 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.5284, allocations: 171 kB / 0.7903 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.989e-05/0.5284, allocations: 48.77 kB / 0.7904 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.5285, allocations: 16.69 kB / 0.7904 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004929/0.529, allocations: 0.5928 MB / 0.7909 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.529, allocations: 39.03 kB / 0.791 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.529, allocations: 0 / 0.791 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004725/0.5295, allocations: 301.8 kB / 0.7913 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.325e-05/0.5295, allocations: 51.41 kB / 0.7913 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.5296, allocations: 102.7 kB / 0.7914 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.5296, allocations: 29.7 kB / 0.7914 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.333e-05/0.5296, allocations: 88.94 kB / 0.7915 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.5296, allocations: 25.56 kB / 0.7916 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.5297, allocations: 25.56 kB / 0.7916 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.829e-05/0.5297, allocations: 320.7 kB / 0.7919 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.5297, allocations: 15.64 kB / 0.7919 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.5298, allocations: 56.92 kB / 0.792 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.5299, allocations: 78.61 kB / 0.792 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5299, allocations: 0.5 kB / 0.792 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001203/0.53, allocations: 95.02 kB / 0.7921 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.53, allocations: 5.812 kB / 0.7921 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.53, allocations: 2.625 kB / 0.7921 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.53, allocations: 6.484 kB / 0.7921 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.5301, allocations: 22.56 kB / 0.7922 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5301, allocations: 0.7188 kB / 0.7922 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.5302, allocations: 2.5 kB / 0.7922 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.5302, allocations: 14.98 kB / 0.7922 GB, free: 44.04 MB / 0.6544 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 4.848e-05/0.5302, allocations: 123.2 kB / 0.7923 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.5303, allocations: 2.719 kB / 0.7923 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.5303, allocations: 7.531 kB / 0.7923 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5303, allocations: 0 / 0.7923 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5303, allocations: 0 / 0.7923 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.5303, allocations: 83.66 kB / 0.7924 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.5304, allocations: 6.812 kB / 0.7924 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5305, allocations: 2.078 kB / 0.7924 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.5305, allocations: 7.594 kB / 0.7924 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001265/0.5306, allocations: 151.9 kB / 0.7925 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001454/0.5308, allocations: 259.9 kB / 0.7928 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.76e-05/0.5308, allocations: 16.22 kB / 0.7928 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.469e-05/0.5308, allocations: 81.84 kB / 0.7929 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of Backend: time 3.81e-07/0.5308, allocations: 0 / 0.7929 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.5313, allocations: 151.3 kB / 0.793 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004349/0.5317, allocations: 0.7613 MB / 0.7938 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.002867/0.5346, allocations: 0.9992 MB / 0.7947 GB, free: 42.59 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)