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.00136/0.00136, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001714/0.001714, allocations: 186.5 kB / 16.25 MB, free: 6.617 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.355/1.355, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.629/1.629, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001314/0.001315, allocations: 67.47 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2377, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00304/0.2407, allocations: 1.545 MB / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2419, allocations: 0.6355 MB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.242, allocations: 0 / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.242, allocations: 0 / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.2421, allocations: 7.938 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.2427, allocations: 147.5 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.902e-05/0.2428, allocations: 51.78 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.2429, allocations: 4 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.85e-05/0.243, allocations: 23.92 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.594e-05/0.243, allocations: 27.91 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.243, allocations: 4 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004553/0.2435, allocations: 347.3 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.2435, allocations: 11.94 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.2436, allocations: 27.91 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.2438, allocations: 171.8 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2439, allocations: 4 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2439, allocations: 11.92 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.2439, allocations: 0 / 0.7858 GB, free: 10.89 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005944/0.2445, allocations: 399.3 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2445, allocations: 8.031 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.2446, allocations: 8.844 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2447, allocations: 164.4 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.2448, allocations: 8.375 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.2448, allocations: 8.375 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2451, allocations: 78.16 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2451, allocations: 4.188 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.2451, allocations: 7.938 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2451, allocations: 0 / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.2454, allocations: 55.39 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.246, allocations: 320.6 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.2462, allocations: 86.47 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.2464, allocations: 24.84 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.2464, allocations: 12.14 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2464, allocations: 34.55 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.2464, allocations: 0 / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001664/0.2481, allocations: 0.646 MB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2481, allocations: 55.41 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.2482, allocations: 101.8 kB / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.2483, allocations: 29.7 kB / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2483, allocations: 96.02 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.2484, allocations: 39.47 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.2484, allocations: 29.7 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2485, allocations: 318.8 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.2487, allocations: 27.98 kB / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.2488, allocations: 39.91 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.249, allocations: 68.83 kB / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.249, allocations: 4 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002969/0.2494, allocations: 117.7 kB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2494, allocations: 4 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2494, allocations: 0 / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2494, allocations: 4 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.2496, allocations: 27.92 kB / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2496, allocations: 0 / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.2496, allocations: 15.92 kB / 0.7885 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.2497, allocations: 4 kB / 0.7885 GB, free: 7.773 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 (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 7.589e-05/0.2497, allocations: 114.5 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.2498, allocations: 7.906 kB / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.2502, allocations: 141.4 kB / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2502, allocations: 0 / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2502, allocations: 0 / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2502, allocations: 3.938 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.2507, allocations: 378.5 kB / 0.7891 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2507, allocations: 0 / 0.7891 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.2509, allocations: 35.91 kB / 0.7892 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2509, allocations: 0 / 0.7892 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2509, allocations: 11.94 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2509, allocations: 0 / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2509, allocations: 0 / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000487/0.2514, allocations: 251.3 kB / 0.7894 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.2515, allocations: 77.11 kB / 0.7895 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.2515, allocations: 7.969 kB / 0.7895 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2516, allocations: 11.98 kB / 0.7895 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.2517, allocations: 4 kB / 0.7895 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.2517, allocations: 3.984 kB / 0.7895 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.2517, allocations: 83.34 kB / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2517, allocations: 0 / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002942/0.252, allocations: 40 kB / 0.7896 GB, free: 6.516 MB / 0.6075 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.0002527/0.2523, allocations: 143.1 kB / 0.7898 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.2526, allocations: 83.89 kB / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2526, allocations: 0 / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2528, allocations: 43.97 kB / 0.7899 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.2531, allocations: 14.84 kB / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.2538, allocations: 353.7 kB / 0.7903 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.2541, allocations: 0.6924 MB / 0.7909 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.198e-05/0.2542, allocations: 12.59 kB / 0.7909 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.2543, allocations: 15.44 kB / 0.791 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2543, allocations: 4 kB / 0.791 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of Templates: time 0.003626/0.2579, allocations: 1.133 MB / 0.7921 GB, free: 4.012 MB / 0.6075 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)