Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.239/2.239, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.001409, allocations: 182.4 kB / 499.1 MB, free: 4.641 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.000915, allocations: 104.7 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 51.95 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2737, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002454/0.2762, allocations: 1.523 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008971/0.2771, allocations: 0.6471 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.2772, allocations: 4 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.2772, allocations: 11.92 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.2773, allocations: 3.938 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.2777, allocations: 135.5 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.2778, allocations: 47.84 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.2779, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.2779, allocations: 23.92 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.278, allocations: 27.91 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.278, allocations: 4 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.2784, allocations: 347.3 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.2784, allocations: 15.92 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.2785, allocations: 23.88 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.2787, allocations: 169.7 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2787, allocations: 0 / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2787, allocations: 4 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2787, allocations: 3.938 kB / 1.221 GB, free: 114.3 MB / 0.823 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.0005274/0.2793, allocations: 403.3 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2793, allocations: 11.98 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.2794, allocations: 12.78 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.457e-05/0.2795, allocations: 168.3 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2795, allocations: 4.375 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.2795, allocations: 8.375 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.2797, allocations: 74.22 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2798, allocations: 4.188 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2798, allocations: 7.938 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2798, allocations: 3.984 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.28, allocations: 55.95 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.2805, allocations: 320.6 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.2807, allocations: 82.53 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2808, allocations: 32.83 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.2809, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.2809, allocations: 34.5 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.2809, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.001392/0.2823, allocations: 0.6462 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.2823, allocations: 59.41 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.058e-05/0.2824, allocations: 105.8 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.2824, allocations: 25.7 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.2825, allocations: 95.98 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.2825, allocations: 35.45 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.2825, allocations: 29.7 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.2826, allocations: 318.8 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2827, allocations: 31.97 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.2828, allocations: 31.98 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.283, allocations: 76.2 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.283, allocations: 7.875 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002601/0.2833, allocations: 117.7 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2833, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2833, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2833, allocations: 8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.2835, allocations: 27.97 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2835, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.2836, allocations: 7.938 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2836, allocations: 8 kB / 1.224 GB, free: 111.1 MB / 0.823 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.098e-05/0.2836, allocations: 113.8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.2837, allocations: 7.906 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.284, allocations: 129.6 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.284, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.284, allocations: 96 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.284, allocations: 7.875 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.2844, allocations: 386.4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2845, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.2846, allocations: 23.98 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2846, allocations: 4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2846, allocations: 11.94 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2846, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2846, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.2869, allocations: 1.357 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.2869, allocations: 81.09 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.2869, allocations: 64 / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.287, allocations: 16.09 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.2871, allocations: 7.984 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.2871, allocations: 7.938 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.264e-05/0.2871, allocations: 83.28 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2871, allocations: 0 / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003295/0.2874, allocations: 47.92 kB / 1.226 GB, free: 108.6 MB / 0.823 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.000172/0.2876, allocations: 128.5 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.2879, allocations: 95.81 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2879, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.288, allocations: 43.92 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.2884, allocations: 15.92 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.2889, allocations: 470 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.2891, allocations: 0.6965 MB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.808e-05/0.2891, allocations: 16.66 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.2892, allocations: 19.38 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2892, allocations: 4 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of Templates: time 0.002939/0.2921, allocations: 1.146 MB / 1.229 GB, free: 106 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)