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: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 194.5 kB / 16.14 MB, free: 6.668 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.258/1.258, allocations: 205.1 MB / 222 MB, free: 4.957 MB / 174.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.472/1.472, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001238/0.001238, allocations: 70.64 kB / 0.6709 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1586, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001852/0.1605, allocations: 1.333 MB / 0.7841 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1634, allocations: 3.243 MB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.1634, allocations: 4 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.1634, allocations: 0 / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.231e-05/0.1635, allocations: 0 / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1638, allocations: 91.61 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.1639, allocations: 35.86 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.506e-05/0.1639, allocations: 8 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.1639, allocations: 19.91 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.164, allocations: 19.92 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.164, allocations: 0 / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.1642, allocations: 75.8 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.1642, allocations: 7.938 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.1643, allocations: 23.91 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.1644, allocations: 64.09 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1644, allocations: 7.984 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.61e-07/0.1644, allocations: 0 / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.1644, allocations: 4 kB / 0.7876 GB, free: 8.957 MB / 0.6075 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.0003137/0.1647, allocations: 351.4 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.1648, allocations: 8.031 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.1648, allocations: 34.75 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.1649, allocations: 12.86 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.28e-05/0.165, allocations: 160.4 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.165, allocations: 4.375 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.165, allocations: 4.375 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1651, allocations: 65.55 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.1651, allocations: 0 / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1652, allocations: 4 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1652, allocations: 0 / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.1652, allocations: 15.98 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.1654, allocations: 165.6 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.1654, allocations: 50.56 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.1655, allocations: 20.84 kB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/0.1661, allocations: 0.5948 MB / 0.789 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1661, allocations: 34.56 kB / 0.7891 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1661, allocations: 3.938 kB / 0.7891 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004534/0.1666, allocations: 298.1 kB / 0.7894 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.1666, allocations: 55.41 kB / 0.7894 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.501e-05/0.1667, allocations: 105.8 kB / 0.7895 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1667, allocations: 29.7 kB / 0.7895 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.1667, allocations: 84.05 kB / 0.7896 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1667, allocations: 27.64 kB / 0.7896 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1668, allocations: 25.72 kB / 0.7897 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.1669, allocations: 318.8 kB / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.1669, allocations: 8 kB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.243e-05/0.167, allocations: 61.52 kB / 0.79 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.226e-05/0.167, allocations: 73.27 kB / 0.7901 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.167, allocations: 3.984 kB / 0.7901 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001169/0.1672, allocations: 101.5 kB / 0.7902 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.1672, allocations: 4 kB / 0.7902 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1672, allocations: 7.984 kB / 0.7902 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.1672, allocations: 0 / 0.7902 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.1673, allocations: 19.94 kB / 0.7902 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1673, allocations: 4 kB / 0.7902 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.1673, allocations: 4.062 kB / 0.7902 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1673, allocations: 8 kB / 0.7902 GB, free: 5.812 MB / 0.6075 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 5.951e-05/0.1674, allocations: 117.8 kB / 0.7904 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.1674, allocations: 4 kB / 0.7904 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.1675, allocations: 7.969 kB / 0.7904 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1675, allocations: 0 / 0.7904 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1675, allocations: 0 / 0.7904 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1675, allocations: 3.938 kB / 0.7904 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.1677, allocations: 181.7 kB / 0.7906 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1677, allocations: 0 / 0.7906 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.132e-05/0.1678, allocations: 31.86 kB / 0.7906 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1678, allocations: 0 / 0.7906 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1678, allocations: 0 / 0.7906 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1678, allocations: 0 / 0.7906 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1678, allocations: 0 / 0.7906 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.168, allocations: 171.4 kB / 0.7907 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.168, allocations: 81.14 kB / 0.7908 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.168, allocations: 8 kB / 0.7908 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.1681, allocations: 4 kB / 0.7908 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.1682, allocations: 11.92 kB / 0.7908 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1682, allocations: 0 / 0.7908 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.1682, allocations: 83.28 kB / 0.7909 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1682, allocations: 0 / 0.7909 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002162/0.1684, allocations: 12 kB / 0.7909 GB, free: 5.016 MB / 0.6075 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.000342/0.1688, allocations: 0.7088 MB / 0.7916 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.1689, allocations: 43.97 kB / 0.7917 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1689, allocations: 0 / 0.7917 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.22e-05/0.1689, allocations: 19.92 kB / 0.7917 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1691, allocations: 11.94 kB / 0.7917 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1703, allocations: 1.538 MB / 0.7932 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.1705, allocations: 0.6888 MB / 0.7939 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.891e-05/0.1706, allocations: 7.984 kB / 0.7939 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.1706, allocations: 15.44 kB / 0.7939 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1706, allocations: 7.938 kB / 0.7939 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.852/4.023, allocations: 1.506 MB / 0.7954 GB, free: 392 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/4.023, allocations: 187.9 kB / 0.7956 GB, free: 136 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/6.724, allocations: 0 / 0.7956 GB, free: 136 kB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)