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.001152/0.001152, allocations: 101.3 kB / 16.29 MB, free: 6.012 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.001232/0.001232, allocations: 181.6 kB / 17.22 MB, free: 5.617 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.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.835/1.835, allocations: 292.3 MB / 0.5495 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.00141/0.001411, allocations: 62.88 kB / 0.6722 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2563, allocations: 114.6 MB / 0.7841 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002889/0.2592, allocations: 1.251 MB / 0.7853 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3647/0.6239, allocations: 3.257 MB / 0.7885 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.624, allocations: 0 / 0.7885 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.624, allocations: 5.578 kB / 0.7885 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.6241, allocations: 6.75 kB / 0.7885 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.6246, allocations: 102.3 kB / 0.7886 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.916e-05/0.6247, allocations: 33.94 kB / 0.7886 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.6247, allocations: 4.906 kB / 0.7886 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.6248, allocations: 23.72 kB / 0.7886 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.6249, allocations: 13.05 kB / 0.7886 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.6249, allocations: 2.906 kB / 0.7886 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.6251, allocations: 82.45 kB / 0.7887 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.6251, allocations: 11.95 kB / 0.7887 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.6252, allocations: 19.8 kB / 0.7888 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.6253, allocations: 65.2 kB / 0.7888 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6253, allocations: 0 / 0.7888 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.562e-06/0.6253, allocations: 0 / 0.7888 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6254, allocations: 0 / 0.7888 GB, free: 45.92 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.0003204/0.6257, allocations: 350.9 kB / 0.7892 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.6257, allocations: 15.22 kB / 0.7892 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.817e-05/0.6258, allocations: 12.94 kB / 0.7892 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.467e-05/0.6259, allocations: 160.4 kB / 0.7893 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.6259, allocations: 3.219 kB / 0.7893 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.6259, allocations: 6.781 kB / 0.7893 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.626, allocations: 58.11 kB / 0.7894 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.6261, allocations: 0 / 0.7894 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.6261, allocations: 9.875 kB / 0.7894 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6261, allocations: 0 / 0.7894 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.6261, allocations: 16.62 kB / 0.7894 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.6263, allocations: 171 kB / 0.7896 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.981e-05/0.6264, allocations: 52.22 kB / 0.7896 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.6264, allocations: 18.64 kB / 0.7897 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005317/0.6269, allocations: 0.5921 MB / 0.7902 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.627, allocations: 44.31 kB / 0.7903 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.627, allocations: 2.812 kB / 0.7903 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004922/0.6275, allocations: 292.6 kB / 0.7906 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.6275, allocations: 53.47 kB / 0.7906 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.6276, allocations: 108.5 kB / 0.7907 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.6276, allocations: 27.33 kB / 0.7907 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.6276, allocations: 86.7 kB / 0.7908 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.6276, allocations: 30.05 kB / 0.7908 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.6277, allocations: 25.06 kB / 0.7909 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.6277, allocations: 321.1 kB / 0.7912 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.733e-05/0.6278, allocations: 15.03 kB / 0.7912 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.6278, allocations: 50.02 kB / 0.7912 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.788e-05/0.6279, allocations: 72.62 kB / 0.7913 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.6279, allocations: 1.656 kB / 0.7913 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001077/0.628, allocations: 101.3 kB / 0.7914 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.628, allocations: 6.438 kB / 0.7914 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.628, allocations: 3.125 kB / 0.7914 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.628, allocations: 2.625 kB / 0.7914 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.6281, allocations: 18.8 kB / 0.7914 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.6281, allocations: 3.25 kB / 0.7914 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.6282, allocations: 8.469 kB / 0.7914 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.6282, allocations: 6.562 kB / 0.7915 GB, free: 43.44 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.941e-05/0.6282, allocations: 117.2 kB / 0.7916 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.6283, allocations: 2.625 kB / 0.7916 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.6283, allocations: 13.11 kB / 0.7916 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6283, allocations: 0.6562 kB / 0.7916 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6283, allocations: 0 / 0.7916 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6283, allocations: 1.125 kB / 0.7916 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.6285, allocations: 184.3 kB / 0.7918 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.6285, allocations: 3.938 kB / 0.7918 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.671e-05/0.6286, allocations: 16.77 kB / 0.7918 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6286, allocations: 0.7812 kB / 0.7918 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.6286, allocations: 1.25 kB / 0.7918 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6286, allocations: 4.156 kB / 0.7918 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6286, allocations: 2.625 kB / 0.7918 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.6288, allocations: 176.2 kB / 0.792 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.6288, allocations: 85.41 kB / 0.792 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.6288, allocations: 0 / 0.792 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.773e-05/0.6289, allocations: 5.859 kB / 0.792 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.629, allocations: 2.625 kB / 0.792 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.629, allocations: 9.031 kB / 0.7921 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.897e-05/0.629, allocations: 88.88 kB / 0.7921 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.629, allocations: 0 / 0.7921 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002335/0.6292, allocations: 12.69 kB / 0.7922 GB, free: 42.82 MB / 0.6544 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 8.845e-05/0.6293, allocations: 104.9 kB / 0.7923 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.6294, allocations: 42.25 kB / 0.7923 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6294, allocations: 0.8438 kB / 0.7923 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.6295, allocations: 17.41 kB / 0.7923 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.6298, allocations: 10.53 kB / 0.7923 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.6303, allocations: 327 kB / 0.7926 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.6304, allocations: 0.6819 MB / 0.7933 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.089e-05/0.6305, allocations: 10.41 kB / 0.7933 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.6305, allocations: 12.19 kB / 0.7933 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6305, allocations: 0 / 0.7933 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.002457/0.633, allocations: 0.6113 MB / 0.7939 GB, free: 41.77 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)