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.00145/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001741/0.001741, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.352/1.352, allocations: 205.1 MB / 222 MB, free: 4.785 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.653/1.653, allocations: 292.2 MB / 0.5484 GB, free: 13.63 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.00235/0.00235, allocations: 66.19 kB / 0.6708 GB, free: 26.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2457, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002099/0.2478, allocations: 1.344 MB / 0.784 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009267/0.2488, allocations: 0.6395 MB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.405e-05/0.2488, allocations: 0 / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.2488, allocations: 7.922 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.229e-05/0.2489, allocations: 0 / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.2493, allocations: 122.5 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.095e-05/0.2494, allocations: 19.92 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.2494, allocations: 4 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.2494, allocations: 7.938 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.505e-05/0.2495, allocations: 11.92 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2495, allocations: 7.984 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.25, allocations: 335.4 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.25, allocations: 8 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.25, allocations: 15.86 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.2502, allocations: 147.9 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2503, allocations: 0 / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.72e-07/0.2503, allocations: 0 / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.2503, allocations: 0 / 0.7853 GB, free: 11.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003697/0.2506, allocations: 359.4 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2507, allocations: 12.03 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.2507, allocations: 8.922 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2508, allocations: 164.3 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2508, allocations: 4.375 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.2509, allocations: 4.375 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.251, allocations: 38.25 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.251, allocations: 192 / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.251, allocations: 7.938 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.251, allocations: 0 / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.278e-05/0.251, allocations: 4 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.2512, allocations: 169.7 kB / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.2514, allocations: 42.55 kB / 0.786 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.2514, allocations: 24.88 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.2515, allocations: 0 / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2515, allocations: 30.56 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2515, allocations: 0 / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005634/0.2521, allocations: 322.4 kB / 0.7864 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.2521, allocations: 55.39 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.2522, allocations: 97.84 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2522, allocations: 29.7 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.2522, allocations: 80.14 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.2523, allocations: 19.8 kB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.2523, allocations: 17.72 kB / 0.7867 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.2524, allocations: 314.8 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.2524, allocations: 19.92 kB / 0.787 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.2525, allocations: 12 kB / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.885e-05/0.2525, allocations: 24.86 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2525, allocations: 4 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.457e-05/0.2526, allocations: 69.73 kB / 0.7871 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2527, allocations: 11.94 kB / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2527, allocations: 0 / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2527, allocations: 0 / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.375e-05/0.2527, allocations: 23.86 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2527, allocations: 0 / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.2528, allocations: 4 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.2528, allocations: 0 / 0.7872 GB, free: 9.113 MB / 0.6075 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.147e-05/0.2529, allocations: 113.8 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.2529, allocations: 3.938 kB / 0.7873 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.253, allocations: 69.64 kB / 0.7873 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.253, allocations: 0 / 0.7873 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.253, allocations: 4 kB / 0.7873 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.253, allocations: 4 kB / 0.7873 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.2533, allocations: 315.3 kB / 0.7876 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2534, allocations: 0 / 0.7876 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.2534, allocations: 11.98 kB / 0.7877 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2534, allocations: 7.938 kB / 0.7877 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2534, allocations: 4.188 kB / 0.7877 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.2535, allocations: 4 kB / 0.7877 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2535, allocations: 3.938 kB / 0.7877 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.2536, allocations: 184.3 kB / 0.7879 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.2537, allocations: 81.09 kB / 0.7879 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2537, allocations: 4.031 kB / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.2538, allocations: 0 / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.2538, allocations: 7.984 kB / 0.7879 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.2538, allocations: 0 / 0.7879 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.2539, allocations: 83.34 kB / 0.788 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2539, allocations: 4 kB / 0.788 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002477/0.2541, allocations: 19.94 kB / 0.788 GB, free: 8.09 MB / 0.6075 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.0001775/0.2543, allocations: 123.2 kB / 0.7882 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.497e-05/0.2544, allocations: 27.98 kB / 0.7882 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2544, allocations: 0 / 0.7882 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.2545, allocations: 23.92 kB / 0.7882 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.2547, allocations: 14.89 kB / 0.7882 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.2551, allocations: 198.5 kB / 0.7884 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.2553, allocations: 0.6848 MB / 0.7891 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.2553, allocations: 15.86 kB / 0.7891 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.2554, allocations: 15.38 kB / 0.7891 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2554, allocations: 0 / 0.7891 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of Templates: time 0.00253/0.2579, allocations: 0.6253 MB / 0.7897 GB, free: 6.336 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)