Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001356, allocations: 104.6 kB / 16.27 MB, free: 6.059 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.001082/0.001082, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.311/1.311, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.767/1.767, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.001417/0.001418, allocations: 67.19 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2314, allocations: 114.5 MB / 0.784 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002985/0.2345, allocations: 1.283 MB / 0.7853 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2356, allocations: 0.6033 MB / 0.7859 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.2357, allocations: 11.88 kB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.2357, allocations: 0 / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.2358, allocations: 0 / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008191/0.2366, allocations: 148.5 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.2367, allocations: 19.92 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.037e-05/0.2368, allocations: 4 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/0.2368, allocations: 7.984 kB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.2369, allocations: 11.92 kB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2369, allocations: 8 kB / 0.7861 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.2375, allocations: 343.3 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.2375, allocations: 4 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.2375, allocations: 7.938 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.2378, allocations: 148 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2378, allocations: 0 / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2378, allocations: 0 / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.2379, allocations: 0 / 0.7865 GB, free: 1.293 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004594/0.2383, allocations: 359.4 kB / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2384, allocations: 11.97 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.2384, allocations: 16.83 kB / 0.7869 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2385, allocations: 160.4 kB / 0.7871 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2386, allocations: 4.375 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.2386, allocations: 4.375 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.2387, allocations: 38.25 kB / 0.7871 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2387, allocations: 192 / 0.7871 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2388, allocations: 3.938 kB / 0.7871 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2388, allocations: 4 kB / 0.7871 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.2388, allocations: 4 kB / 0.7871 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.239, allocations: 165.7 kB / 0.7873 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.2392, allocations: 50.53 kB / 0.7873 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.549e-05/0.2393, allocations: 20.94 kB / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.2393, allocations: 0 / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2393, allocations: 30.56 kB / 0.7874 GB, free: 280 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2393, allocations: 0 / 0.7874 GB, free: 280 kB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.3862/0.6255, allocations: 309.6 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.6256, allocations: 55.62 kB / 0.7877 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.6256, allocations: 100.4 kB / 0.7878 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.6256, allocations: 28.02 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.778e-05/0.6257, allocations: 81.2 kB / 0.7879 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.6257, allocations: 22.41 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.6258, allocations: 19.31 kB / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.6258, allocations: 316.5 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.6258, allocations: 11.02 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.6259, allocations: 14.84 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/0.6259, allocations: 33.7 kB / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.6259, allocations: 0 / 0.7883 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000122/0.6261, allocations: 71.19 kB / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.6261, allocations: 9 kB / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6261, allocations: 2.125 kB / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.6261, allocations: 2.719 kB / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.6262, allocations: 10.53 kB / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6262, allocations: 0 / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.6263, allocations: 0 / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.6263, allocations: 5.844 kB / 0.7884 GB, free: 48.09 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 7.498e-05/0.6264, allocations: 116.8 kB / 0.7885 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.6264, allocations: 5.688 kB / 0.7885 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.6266, allocations: 72.73 kB / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6266, allocations: 0 / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6266, allocations: 0.6562 kB / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6266, allocations: 3 kB / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/0.627, allocations: 318.5 kB / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.627, allocations: 1.969 kB / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.6271, allocations: 10.56 kB / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.6271, allocations: 3.438 kB / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.6271, allocations: 4 kB / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6271, allocations: 1.219 kB / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6271, allocations: 4.531 kB / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.6273, allocations: 189.3 kB / 0.7891 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.6274, allocations: 79.89 kB / 0.7892 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.6274, allocations: 4.75 kB / 0.7892 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.6275, allocations: 3.188 kB / 0.7892 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.6275, allocations: 6.547 kB / 0.7892 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.6275, allocations: 5.438 kB / 0.7892 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.6275, allocations: 85.3 kB / 0.7893 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.073e-06/0.6275, allocations: 0 / 0.7893 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000282/0.6278, allocations: 17.22 kB / 0.7893 GB, free: 47.32 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002122/0.628, allocations: 125.4 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.6282, allocations: 34.45 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6282, allocations: 3.656 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.6282, allocations: 22.41 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.6285, allocations: 7.938 kB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.629, allocations: 209.8 kB / 0.7897 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.6291, allocations: 0.6859 MB / 0.7904 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.6291, allocations: 13.22 kB / 0.7904 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6291, allocations: 0 / 0.7904 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.002488/0.6316, allocations: 0.7954 MB / 0.7912 GB, free: 46.34 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)