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.001215/0.001215, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.001083/0.001083, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.42/1.42, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.713/1.713, allocations: 292.3 MB / 0.5492 GB, free: 13.56 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.00196/0.00196, allocations: 72.61 kB / 0.6717 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2461, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002636/0.2488, allocations: 1.537 MB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.2498, allocations: 0.6356 MB / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.2498, allocations: 0 / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.2499, allocations: 11.92 kB / 0.7857 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.2499, allocations: 0 / 0.7857 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.2505, allocations: 142.7 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.848e-05/0.2506, allocations: 51.84 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.2507, allocations: 4 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.2507, allocations: 23.91 kB / 0.7859 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.2508, allocations: 27.92 kB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2508, allocations: 4 kB / 0.7859 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004342/0.2512, allocations: 351.3 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.2513, allocations: 11.92 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.2513, allocations: 23.92 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.2515, allocations: 123.9 kB / 0.7864 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.2515, allocations: 0 / 0.7864 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2515, allocations: 0 / 0.7864 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2515, allocations: 0 / 0.7864 GB, free: 10.94 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.0005809/0.2521, allocations: 403.3 kB / 0.7868 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.2522, allocations: 12.03 kB / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.2522, allocations: 8.844 kB / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2523, allocations: 164.3 kB / 0.7869 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.2524, allocations: 12.36 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.2524, allocations: 4.375 kB / 0.787 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.2526, allocations: 78.22 kB / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2527, allocations: 192 / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.2527, allocations: 11.94 kB / 0.787 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2527, allocations: 4 kB / 0.787 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.2529, allocations: 51.89 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.2535, allocations: 316.6 kB / 0.7874 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.2538, allocations: 94.41 kB / 0.7875 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.2539, allocations: 28.83 kB / 0.7875 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.2539, allocations: 4.141 kB / 0.7875 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.2539, allocations: 34.56 kB / 0.7876 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.254, allocations: 3.938 kB / 0.7876 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001637/0.2556, allocations: 0.6345 MB / 0.7882 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.2556, allocations: 59.41 kB / 0.7882 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.2557, allocations: 101.9 kB / 0.7883 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2557, allocations: 33.64 kB / 0.7884 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.2558, allocations: 88.05 kB / 0.7884 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.2558, allocations: 43.44 kB / 0.7885 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.2559, allocations: 29.66 kB / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.256, allocations: 314.8 kB / 0.7888 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.2561, allocations: 39.97 kB / 0.7889 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.2563, allocations: 31.98 kB / 0.7889 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.2565, allocations: 68.77 kB / 0.789 GB, free: 8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2565, allocations: 4 kB / 0.789 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003351/0.2569, allocations: 121.3 kB / 0.7891 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2569, allocations: 4 kB / 0.7891 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2569, allocations: 0 / 0.7891 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2569, allocations: 4 kB / 0.7891 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.2571, allocations: 27.98 kB / 0.7891 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2571, allocations: 7.969 kB / 0.7891 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.2571, allocations: 15.88 kB / 0.7891 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.2572, allocations: 0 / 0.7891 GB, free: 7.816 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.687e-05/0.2572, allocations: 113.8 kB / 0.7892 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.2573, allocations: 7.906 kB / 0.7892 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.2576, allocations: 133.5 kB / 0.7894 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2577, allocations: 4.188 kB / 0.7894 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2577, allocations: 0 / 0.7894 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2577, allocations: 7.922 kB / 0.7894 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.2582, allocations: 378.5 kB / 0.7897 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2582, allocations: 0 / 0.7897 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.2584, allocations: 31.98 kB / 0.7898 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2584, allocations: 4 kB / 0.7898 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2584, allocations: 3.938 kB / 0.7898 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2584, allocations: 4 kB / 0.7898 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2584, allocations: 3.938 kB / 0.7898 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.2589, allocations: 247.3 kB / 0.79 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.259, allocations: 77.11 kB / 0.7901 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.259, allocations: 15.92 kB / 0.7901 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.2591, allocations: 12.03 kB / 0.7901 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.2592, allocations: 3.984 kB / 0.7901 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.2592, allocations: 4 kB / 0.7901 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.2592, allocations: 83.28 kB / 0.7902 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2592, allocations: 0 / 0.7902 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002709/0.2595, allocations: 35.98 kB / 0.7902 GB, free: 6.559 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.0002098/0.2597, allocations: 139.1 kB / 0.7904 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.26, allocations: 91.88 kB / 0.7905 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.26, allocations: 0 / 0.7905 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.2602, allocations: 44.36 kB / 0.7905 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.2605, allocations: 14.83 kB / 0.7905 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006764/0.2612, allocations: 387.5 kB / 0.7909 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.2615, allocations: 0.6924 MB / 0.7916 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.2615, allocations: 11.44 kB / 0.7916 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2616, allocations: 0 / 0.7916 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.002917/0.2645, allocations: 1.311 MB / 0.7929 GB, free: 3.828 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)