Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 97.86 kB / 16.29 MB, free: 5.961 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.001056/0.001056, allocations: 182 kB / 17.22 MB, free: 5.59 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.372/1.372, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.828/1.828, allocations: 292.3 MB / 0.5495 GB, free: 17.77 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.001395/0.001395, allocations: 67.89 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2154, allocations: 114.5 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002667/0.2181, allocations: 1.275 MB / 0.7853 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2192, allocations: 0.6149 MB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.2192, allocations: 4 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.2193, allocations: 3.938 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.2193, allocations: 4 kB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.22, allocations: 151.4 kB / 0.7861 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.22, allocations: 15.92 kB / 0.7861 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.2201, allocations: 8 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.2202, allocations: 11.94 kB / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.2202, allocations: 11.92 kB / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.2202, allocations: 0 / 0.7861 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005563/0.2208, allocations: 343.4 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.2208, allocations: 0 / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.2209, allocations: 15.94 kB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.2211, allocations: 151.9 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2212, allocations: 0 / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.488e-06/0.2212, allocations: 4 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2212, allocations: 0 / 0.7866 GB, free: 1.254 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.0004381/0.2216, allocations: 355.5 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2217, allocations: 8.031 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.2217, allocations: 4.844 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.2219, allocations: 172.3 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2219, allocations: 4.375 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.2219, allocations: 4.375 kB / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.222, allocations: 38.25 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.222, allocations: 192 / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2221, allocations: 7.938 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2221, allocations: 0 / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.994e-05/0.2221, allocations: 8 kB / 0.7872 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.2223, allocations: 153.7 kB / 0.7873 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.2225, allocations: 58.48 kB / 0.7874 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.2225, allocations: 16.94 kB / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2226, allocations: 4 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.2226, allocations: 34.5 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.2226, allocations: 0 / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.352/0.5746, allocations: 307 kB / 0.7877 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.5746, allocations: 54.75 kB / 0.7878 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.023e-05/0.5747, allocations: 96.66 kB / 0.7879 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.5747, allocations: 27.95 kB / 0.7879 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.397e-05/0.5747, allocations: 83.77 kB / 0.788 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.5747, allocations: 23.77 kB / 0.788 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.5748, allocations: 19.78 kB / 0.788 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.5748, allocations: 315.3 kB / 0.7883 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.5749, allocations: 10.42 kB / 0.7883 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.5749, allocations: 13.02 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.5749, allocations: 35.52 kB / 0.7884 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.575, allocations: 0.5156 kB / 0.7884 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.702e-05/0.5751, allocations: 74.98 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5751, allocations: 9.781 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.5751, allocations: 0 / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5751, allocations: 0 / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.5752, allocations: 12.61 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.5752, allocations: 0.8438 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.5752, allocations: 0 / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.5752, allocations: 5.719 kB / 0.7885 GB, free: 47.98 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 4.37e-05/0.5753, allocations: 116.1 kB / 0.7886 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.5753, allocations: 3.75 kB / 0.7886 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.5754, allocations: 74.64 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5754, allocations: 0 / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5754, allocations: 1.938 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5754, allocations: 0.5 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.5757, allocations: 319.5 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5757, allocations: 5.812 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.5758, allocations: 14.53 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5758, allocations: 0.8438 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.5758, allocations: 2.531 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5758, allocations: 0 / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5758, allocations: 5.156 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.5759, allocations: 187.3 kB / 0.7892 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.576, allocations: 80.83 kB / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.576, allocations: 7.188 kB / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.5761, allocations: 3.094 kB / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.5761, allocations: 5.875 kB / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.5761, allocations: 3.938 kB / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.001e-05/0.5761, allocations: 81.83 kB / 0.7894 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5761, allocations: 2.688 kB / 0.7894 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002474/0.5764, allocations: 14.62 kB / 0.7894 GB, free: 47.22 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001527/0.5765, allocations: 125.1 kB / 0.7895 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.5767, allocations: 33.47 kB / 0.7895 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5767, allocations: 8.469 kB / 0.7895 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.5767, allocations: 18.33 kB / 0.7896 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.5769, allocations: 11.62 kB / 0.7896 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.5773, allocations: 184.5 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.479e-05/0.5774, allocations: 0.6837 MB / 0.7904 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.8e-05/0.5774, allocations: 2.906 kB / 0.7904 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.5775, allocations: 10.25 kB / 0.7904 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.5775, allocations: 2.844 kB / 0.7904 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.002742/0.5802, allocations: 0.6475 MB / 0.7911 GB, free: 46.29 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)