Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009996/0.0009998, allocations: 173.7 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008362/0.0008362, allocations: 97.91 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 8.719 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2028, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001161/0.2041, allocations: 0.9902 MB / 0.8977 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.2068, allocations: 3.251 MB / 0.9009 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.2068, allocations: 0 / 0.9009 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.2068, allocations: 3.938 kB / 0.9009 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.2069, allocations: 3.938 kB / 0.9009 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.2073, allocations: 107.6 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.2074, allocations: 35.91 kB / 0.901 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.2074, allocations: 3.984 kB / 0.901 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.2075, allocations: 16 kB / 0.901 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.2075, allocations: 15.91 kB / 0.901 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2075, allocations: 4 kB / 0.9011 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.2077, allocations: 79.75 kB / 0.9011 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.2078, allocations: 11.97 kB / 0.9011 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.2078, allocations: 11.94 kB / 0.9011 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.2079, allocations: 52.16 kB / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2079, allocations: 0 / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2079, allocations: 0 / 0.9012 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2079, allocations: 0 / 0.9012 GB, free: 63.61 MB / 0.6042 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.0002972/0.2082, allocations: 339.5 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2083, allocations: 8.031 kB / 0.9015 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.3e-05/0.2084, allocations: 4.938 kB / 0.9015 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.836e-05/0.2085, allocations: 160.4 kB / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2085, allocations: 8.359 kB / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.2085, allocations: 16.28 kB / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.2087, allocations: 57.73 kB / 0.9018 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.2087, allocations: 0 / 0.9018 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2087, allocations: 4 kB / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.2087, allocations: 0 / 0.9018 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.442e-05/0.2088, allocations: 15.98 kB / 0.9018 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.209, allocations: 165.7 kB / 0.9019 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.115e-05/0.2091, allocations: 54.55 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.2091, allocations: 24.78 kB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/0.2097, allocations: 0.5907 MB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.2098, allocations: 42.55 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.2098, allocations: 0 / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005576/0.2103, allocations: 302.5 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.2104, allocations: 51.41 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.2104, allocations: 93.86 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.2104, allocations: 33.7 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.2105, allocations: 88.03 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.2105, allocations: 23.66 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.2105, allocations: 17.7 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.868e-05/0.2106, allocations: 322.8 kB / 0.9035 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.2106, allocations: 19.92 kB / 0.9035 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.2107, allocations: 53.09 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.2108, allocations: 73.08 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2108, allocations: 0 / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001185/0.2109, allocations: 97.69 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2109, allocations: 4 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2109, allocations: 0 / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2109, allocations: 8.031 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.211, allocations: 23.98 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.211, allocations: 12.06 kB / 0.9038 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/0.2111, allocations: 3.938 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.2111, allocations: 4 kB / 0.9038 GB, free: 60.52 MB / 0.6042 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 6.127e-05/0.2112, allocations: 113.8 kB / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.2112, allocations: 0 / 0.9039 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.2112, allocations: 12.41 kB / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2112, allocations: 0 / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2112, allocations: 0 / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2112, allocations: 7.922 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.2115, allocations: 177.7 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2115, allocations: 3.984 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/0.2116, allocations: 19.94 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2116, allocations: 0 / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.2116, allocations: 0 / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2116, allocations: 0 / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2116, allocations: 0 / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.2118, allocations: 179.4 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.2118, allocations: 81.14 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2118, allocations: 7.938 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2119, allocations: 8 kB / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.212, allocations: 4 kB / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.212, allocations: 3.938 kB / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.456e-05/0.212, allocations: 83.27 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.212, allocations: 3.938 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002383/0.2122, allocations: 12 kB / 0.9045 GB, free: 59.71 MB / 0.6042 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.0001148/0.2124, allocations: 107.2 kB / 0.9046 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.915e-05/0.2125, allocations: 39.92 kB / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2125, allocations: 0 / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.197e-05/0.2125, allocations: 19.98 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.2128, allocations: 4.516 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.2133, allocations: 370 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.2135, allocations: 0.6888 MB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.2135, allocations: 11.44 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/0.2135, allocations: 0 / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.001958/0.2155, allocations: 0.7773 MB / 0.9065 GB, free: 57.64 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)