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: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.469/1.469, allocations: 288.4 MB / 303.6 MB, free: 8.047 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.000894/0.0008941, allocations: 182.5 kB / 372.3 MB, free: 10.14 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.139/1.139, allocations: 205.4 MB / 0.631 GB, free: 9.836 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.0006625/0.0006625, allocations: 96.7 kB / 0.7444 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 15.59 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.0008671/0.1452, allocations: 0.9745 MB / 0.9811 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1474, allocations: 3.057 MB / 0.9841 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.1474, allocations: 4 kB / 0.9841 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.1474, allocations: 3.938 kB / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.564e-05/0.1475, allocations: 0 / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1478, allocations: 83.61 kB / 0.9842 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.262e-05/0.1479, allocations: 43.83 kB / 0.9842 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 2.85e-05/0.1479, allocations: 8 kB / 0.9842 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.1479, allocations: 8 kB / 0.9843 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.148, allocations: 23.91 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.148, allocations: 0 / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1482, allocations: 71.81 kB / 0.9843 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.1482, allocations: 7.984 kB / 0.9844 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.1482, allocations: 45.62 kB / 0.9844 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.343e-05/0.1483, allocations: 48.09 kB / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1483, allocations: 0 / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1483, allocations: 0 / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.1483, allocations: 4 kB / 0.9844 GB, free: 22.87 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.0002305/0.1486, allocations: 339.5 kB / 0.9848 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.1486, allocations: 12.03 kB / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.453e-05/0.1486, allocations: 34.69 kB / 0.9848 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.1487, allocations: 8.922 kB / 0.9848 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.735e-05/0.1488, allocations: 160.4 kB / 0.985 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1488, allocations: 8.375 kB / 0.985 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1488, allocations: 4.375 kB / 0.985 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.202e-05/0.1489, allocations: 57.61 kB / 0.985 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1489, allocations: 7.984 kB / 0.9851 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1489, allocations: 0 / 0.9851 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.1489, allocations: 3.938 kB / 0.9851 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.149, allocations: 15.98 kB / 0.9851 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.1491, allocations: 177.5 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.543e-05/0.1492, allocations: 46.56 kB / 0.9853 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.1492, allocations: 20.84 kB / 0.9853 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/0.1497, allocations: 0.5908 MB / 0.9859 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.1497, allocations: 30.56 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1497, allocations: 0 / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003927/0.1501, allocations: 310.5 kB / 0.9862 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.58e-05/0.1501, allocations: 51.41 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.538e-05/0.1502, allocations: 105.8 kB / 0.9864 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.1502, allocations: 29.7 kB / 0.9864 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.774e-05/0.1502, allocations: 87.98 kB / 0.9865 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.1502, allocations: 31.55 kB / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.1502, allocations: 4 kB / 0.9865 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.03e-05/0.1503, allocations: 310.8 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.1503, allocations: 15.98 kB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.1503, allocations: 49.16 kB / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.1504, allocations: 77.08 kB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1504, allocations: 3.938 kB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.688e-05/0.1505, allocations: 93.55 kB / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.1505, allocations: 5.406 kB / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1505, allocations: 0 / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.1506, allocations: 4 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.1506, allocations: 20.42 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1506, allocations: 4 kB / 0.9871 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.1507, allocations: 8.062 kB / 0.9871 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1507, allocations: 8 kB / 0.9871 GB, free: 19.77 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 4.186e-05/0.1507, allocations: 121.8 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1508, allocations: 7.906 kB / 0.9872 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.1508, allocations: 11.97 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1508, allocations: 288 / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1508, allocations: 0 / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1508, allocations: 11.91 kB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.151, allocations: 165.7 kB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.151, allocations: 3.984 kB / 0.9874 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.1511, allocations: 20 kB / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1511, allocations: 4 kB / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1511, allocations: 0 / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1511, allocations: 0 / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1511, allocations: 0 / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.1512, allocations: 179.3 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.1512, allocations: 92.98 kB / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.1512, allocations: 0 / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.1513, allocations: 8 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.1514, allocations: 7.938 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1514, allocations: 4 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.445e-05/0.1514, allocations: 79.27 kB / 0.9878 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1514, allocations: 4 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002071/0.1516, allocations: 12 kB / 0.9878 GB, free: 18.95 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.0002052/0.1518, allocations: 0.7046 MB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.246e-05/0.1519, allocations: 39.95 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1519, allocations: 0 / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.1519, allocations: 16 kB / 0.9885 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.1522, allocations: 14.16 kB / 0.9885 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.1528, allocations: 0.6809 MB / 0.9892 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.237e-05/0.1529, allocations: 0.6849 MB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.641e-05/0.1529, allocations: 11.97 kB / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.153, allocations: 19.5 kB / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.153, allocations: 0 / 0.9899 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2847/0.4376, allocations: 1.407 MB / 0.9913 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001183/0.4378, allocations: 186.9 kB / 0.9914 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.088, allocations: 0 / 0.9914 GB, free: 15.16 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)