Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.00109/0.00109, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.408/1.408, 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.868/1.868, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001644/0.001644, allocations: 75.89 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2555, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003248/0.2588, allocations: 1.468 MB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.26, allocations: 0.6306 MB / 0.7861 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.2601, allocations: 0 / 0.7861 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.611e-05/0.2602, allocations: 3.938 kB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.058e-05/0.2603, allocations: 11.92 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.2611, allocations: 163.3 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.2612, allocations: 51.83 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.2612, allocations: 8 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.779e-05/0.2613, allocations: 23.92 kB / 0.7863 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.2614, allocations: 27.91 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.2614, allocations: 4 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005234/0.2619, allocations: 343.3 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.2619, allocations: 19.91 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.262, allocations: 23.92 kB / 0.7867 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.2623, allocations: 171.8 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2623, allocations: 3.938 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2623, allocations: 4 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2624, allocations: 4 kB / 0.7869 GB, free: 0.8945 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006441/0.263, allocations: 399.3 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2631, allocations: 8.031 kB / 0.7873 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.2631, allocations: 8.844 kB / 0.7873 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2632, allocations: 160.4 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.2633, allocations: 12.31 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.2633, allocations: 4.375 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.2636, allocations: 82.2 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2636, allocations: 8.125 kB / 0.7876 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.2636, allocations: 7.938 kB / 0.7876 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2636, allocations: 0 / 0.7876 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.2639, allocations: 47.95 kB / 0.7876 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4108/0.6747, allocations: 321.2 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.675, allocations: 82.94 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.6752, allocations: 27.88 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.6752, allocations: 5.797 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.6752, allocations: 37.47 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.6752, allocations: 0 / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.001505/0.6768, allocations: 0.6397 MB / 0.7887 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.6768, allocations: 51.41 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.6769, allocations: 103 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.6769, allocations: 30.58 kB / 0.7889 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.6769, allocations: 89.66 kB / 0.789 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.6769, allocations: 47.84 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.677, allocations: 24.59 kB / 0.789 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.677, allocations: 326.1 kB / 0.7893 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.6772, allocations: 30.45 kB / 0.7894 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.6773, allocations: 39.08 kB / 0.7894 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.6775, allocations: 75.61 kB / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6775, allocations: 0 / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002742/0.6778, allocations: 110.8 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6778, allocations: 9.062 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6778, allocations: 0 / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.6779, allocations: 0 / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.678, allocations: 31.64 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.678, allocations: 3.469 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.6781, allocations: 4.281 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.6781, allocations: 3.906 kB / 0.7896 GB, free: 47.38 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 (13): * Single equations (assignments): 13 * 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 5.809e-05/0.6782, allocations: 120.4 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.6782, allocations: 6.531 kB / 0.7898 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.6786, allocations: 133.2 kB / 0.7899 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.6786, allocations: 0 / 0.7899 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6786, allocations: 8.594 kB / 0.7899 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6786, allocations: 0 / 0.7899 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.6791, allocations: 392.1 kB / 0.7903 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6791, allocations: 0 / 0.7903 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.6792, allocations: 25.47 kB / 0.7903 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6792, allocations: 0.5 kB / 0.7903 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.6793, allocations: 1.938 kB / 0.7903 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.6793, allocations: 5.953 kB / 0.7903 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6793, allocations: 6.078 kB / 0.7903 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.6797, allocations: 247.3 kB / 0.7905 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.6798, allocations: 84.58 kB / 0.7906 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.6798, allocations: 3.875 kB / 0.7906 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.6799, allocations: 14.5 kB / 0.7906 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.6799, allocations: 8.484 kB / 0.7906 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.68, allocations: 3.906 kB / 0.7906 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.444e-05/0.68, allocations: 86.58 kB / 0.7907 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.68, allocations: 1.125 kB / 0.7907 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002739/0.6803, allocations: 40.72 kB / 0.7908 GB, free: 46.62 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001992/0.6805, allocations: 133.6 kB / 0.7909 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.6808, allocations: 91.94 kB / 0.791 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6808, allocations: 5.094 kB / 0.791 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.6809, allocations: 42.8 kB / 0.791 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.6813, allocations: 12.92 kB / 0.791 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.6819, allocations: 338.1 kB / 0.7914 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.6821, allocations: 0.6901 MB / 0.792 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.6821, allocations: 14.05 kB / 0.7921 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.6821, allocations: 4 kB / 0.7921 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.003022/0.6851, allocations: 1.32 MB / 0.7933 GB, free: 45.54 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)