Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 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="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_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.001452/0.001452, allocations: 104.5 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.001409/0.001409, allocations: 195.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 469.8 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.98 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3263, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003416/0.3297, allocations: 1.526 MB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.331, allocations: 0.6306 MB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.3311, allocations: 4 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.329e-05/0.3312, allocations: 7.938 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.356e-05/0.3313, allocations: 3.938 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007619/0.3321, allocations: 135.6 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3322, allocations: 47.91 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.3322, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.3323, allocations: 27.91 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.3324, allocations: 35.84 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3324, allocations: 4 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005597/0.333, allocations: 347.3 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.333, allocations: 8 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.3331, allocations: 31.84 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.3333, allocations: 116 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3333, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3333, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.3334, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8419 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.0007108/0.3341, allocations: 407.2 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3341, allocations: 11.97 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.3342, allocations: 12.78 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3343, allocations: 164.4 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.3344, allocations: 4.359 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.3344, allocations: 8.375 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.3347, allocations: 82.22 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3347, allocations: 192 / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3347, allocations: 3.938 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3348, allocations: 4 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.335, allocations: 55.89 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.3357, allocations: 320.6 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.336, allocations: 86.45 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.3361, allocations: 36.83 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.3362, allocations: 4.141 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3362, allocations: 30.56 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3362, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.001791/0.338, allocations: 0.6499 MB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3381, allocations: 55.41 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3382, allocations: 105.8 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3382, allocations: 29.7 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.3383, allocations: 88.05 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.3383, allocations: 35.45 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.3384, allocations: 33.7 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3385, allocations: 318.8 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.3387, allocations: 27.97 kB / 1.069 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.3388, allocations: 43.59 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.3391, allocations: 76.77 kB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3391, allocations: 0 / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003224/0.3394, allocations: 121.6 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3395, allocations: 8 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3395, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3395, allocations: 4 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.3396, allocations: 27.92 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3397, allocations: 0 / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.3397, allocations: 7.938 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3397, allocations: 11.98 kB / 1.07 GB, free: 9.043 MB / 0.8419 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 0.0001014/0.3399, allocations: 115.2 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.3399, allocations: 0 / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.3403, allocations: 125.6 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3403, allocations: 3.938 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3403, allocations: 4.078 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3403, allocations: 7.875 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006413/0.341, allocations: 382.4 kB / 1.07 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.341, allocations: 4 kB / 1.07 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.3412, allocations: 23.98 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3412, allocations: 11.92 kB / 1.07 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3412, allocations: 11.94 kB / 1.07 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3412, allocations: 0 / 1.07 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3412, allocations: 0 / 1.07 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.3417, allocations: 239.4 kB / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.3418, allocations: 85.05 kB / 1.071 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.3418, allocations: 8 kB / 1.071 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.342, allocations: 11.98 kB / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.342, allocations: 4 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.342, allocations: 8 kB / 1.071 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.3421, allocations: 87.44 kB / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3421, allocations: 0 / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002922/0.3424, allocations: 35.94 kB / 1.071 GB, free: 7.793 MB / 0.8419 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.0002465/0.3426, allocations: 143.1 kB / 1.071 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.343, allocations: 87.89 kB / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.343, allocations: 3.938 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3431, allocations: 43.97 kB / 1.071 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.3435, allocations: 8.656 kB / 1.071 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.3442, allocations: 368.6 kB / 1.071 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.3446, allocations: 0.6924 MB / 1.072 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.3446, allocations: 19.42 kB / 1.072 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3446, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of Templates: time 0.003426/0.3481, allocations: 1.329 MB / 1.073 GB, free: 5.059 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)