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.63/1.63, allocations: 288.2 MB / 303.2 MB, free: 8.281 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.001321/0.001321, allocations: 181 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.001026/0.001027, allocations: 101.4 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004531, allocations: 10.78 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2779, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001437/0.2794, allocations: 0.9573 MB / 0.9804 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003294/0.2827, allocations: 2.838 MB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.2828, allocations: 0 / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.2828, allocations: 0 / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.835e-05/0.2829, allocations: 11.97 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.2834, allocations: 87.72 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.146e-05/0.2834, allocations: 27.95 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.2835, allocations: 4 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.2836, allocations: 23.92 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.2836, allocations: 15.97 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.2837, allocations: 4 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.2839, allocations: 55.91 kB / 0.9834 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.2839, allocations: 7.984 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.2839, allocations: 41.64 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.2841, allocations: 36.17 kB / 0.9835 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2841, allocations: 0 / 0.9835 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2841, allocations: 0 / 0.9835 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2841, allocations: 4 kB / 0.9835 GB, free: 23.49 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.0003541/0.2845, allocations: 339.2 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2845, allocations: 16.02 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.2846, allocations: 34.56 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2847, allocations: 11.95 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2848, allocations: 159.1 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.2848, allocations: 7.984 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.2849, allocations: 7.938 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.285, allocations: 57.66 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.285, allocations: 0 / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.285, allocations: 0 / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2851, allocations: 0 / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.245e-05/0.2851, allocations: 27.88 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.2853, allocations: 165.7 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.095e-05/0.2854, allocations: 54.55 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006928/0.2861, allocations: 0.5832 MB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2861, allocations: 30.56 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.495e-06/0.2862, allocations: 0 / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005874/0.2868, allocations: 318.1 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.2868, allocations: 55.41 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.58e-05/0.2869, allocations: 97.84 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2869, allocations: 33.7 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.2869, allocations: 84.05 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.287, allocations: 31.55 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.287, allocations: 0 / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.287, allocations: 318.8 kB / 0.9858 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.2871, allocations: 12 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.2871, allocations: 49.14 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/0.2872, allocations: 36.09 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2872, allocations: 0 / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001268/0.2873, allocations: 89.55 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2873, allocations: 7.953 kB / 0.986 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2874, allocations: 4 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2874, allocations: 0 / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.2875, allocations: 16 kB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2875, allocations: 4 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.2875, allocations: 4.125 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.2875, allocations: 11.98 kB / 0.986 GB, free: 20.47 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 7.25e-05/0.2876, allocations: 117.8 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.2876, allocations: 7.906 kB / 0.9862 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.2877, allocations: 11.92 kB / 0.9862 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2877, allocations: 0 / 0.9862 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2877, allocations: 0 / 0.9862 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2877, allocations: 0 / 0.9862 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.2879, allocations: 173.6 kB / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2879, allocations: 4 kB / 0.9863 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-05/0.288, allocations: 19.98 kB / 0.9864 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.288, allocations: 0 / 0.9864 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2881, allocations: 11.88 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2881, allocations: 3.953 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2881, allocations: 0 / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.2882, allocations: 171.5 kB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.2883, allocations: 81.45 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2883, allocations: 4 kB / 0.9866 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.2884, allocations: 4 kB / 0.9866 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.2884, allocations: 19.94 kB / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2885, allocations: 0 / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.2885, allocations: 79.28 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2885, allocations: 0 / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002247/0.2887, allocations: 12 kB / 0.9867 GB, free: 19.67 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.0003386/0.2891, allocations: 0.7046 MB / 0.9874 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.2892, allocations: 43.97 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2892, allocations: 0 / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.002e-05/0.2892, allocations: 15.98 kB / 0.9875 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.2894, allocations: 7.953 kB / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2904, allocations: 1.428 MB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.2906, allocations: 0.6926 MB / 0.9895 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.975e-05/0.2907, allocations: 8 kB / 0.9896 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.2907, allocations: 15.83 kB / 0.9896 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2907, allocations: 0 / 0.9896 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.3023, allocations: 1.407 MB / 0.9909 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/0.3025, allocations: 191.7 kB / 0.9911 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/1.907, allocations: 1 kB / 0.9911 GB, free: 15.11 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)