Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001082/0.001082, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.431/1.431, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.509/1.509, allocations: 251.7 MB / 0.5088 GB, free: 3.242 MB / 414.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.001248/0.001248, allocations: 71.89 kB / 0.6216 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4078, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002276/0.4102, allocations: 1.341 MB / 0.7251 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008908/0.4111, allocations: 0.6306 MB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.798e-05/0.4111, allocations: 4 kB / 0.7257 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.4111, allocations: 0 / 0.7257 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.4112, allocations: 3.938 kB / 0.7257 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.4116, allocations: 119.6 kB / 0.7259 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.067e-05/0.4116, allocations: 19.92 kB / 0.7259 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.4117, allocations: 0 / 0.7259 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.4117, allocations: 15.94 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.558e-05/0.4118, allocations: 3.984 kB / 0.7259 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.4118, allocations: 4 kB / 0.7259 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.4122, allocations: 343.3 kB / 0.7262 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.4122, allocations: 7.938 kB / 0.7262 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.4123, allocations: 4 kB / 0.7262 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.4125, allocations: 153.6 kB / 0.7264 GB, free: 10.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4125, allocations: 0 / 0.7264 GB, free: 10.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.22e-07/0.4125, allocations: 0 / 0.7264 GB, free: 10.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4125, allocations: 4 kB / 0.7264 GB, free: 10.49 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003473/0.4129, allocations: 359.4 kB / 0.7267 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.4129, allocations: 12.03 kB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.4129, allocations: 4.922 kB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.062e-05/0.413, allocations: 172.2 kB / 0.7269 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.4131, allocations: 4.375 kB / 0.7269 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.4131, allocations: 384 / 0.7269 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.983e-05/0.4132, allocations: 46.23 kB / 0.727 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.4132, allocations: 192 / 0.727 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4132, allocations: 3.938 kB / 0.727 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4132, allocations: 4 kB / 0.727 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.4132, allocations: 11.94 kB / 0.727 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.4134, allocations: 157.7 kB / 0.7271 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.4135, allocations: 38.61 kB / 0.7272 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.36e-05/0.4136, allocations: 20.94 kB / 0.7272 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.4136, allocations: 3.938 kB / 0.7272 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.4136, allocations: 42.56 kB / 0.7272 GB, free: 9.461 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.4136, allocations: 0 / 0.7272 GB, free: 9.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0005204/0.4142, allocations: 310.2 kB / 0.7275 GB, free: 9.105 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.4142, allocations: 55.39 kB / 0.7276 GB, free: 9.039 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/0.4143, allocations: 97.86 kB / 0.7277 GB, free: 8.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.4143, allocations: 25.7 kB / 0.7277 GB, free: 8.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.4143, allocations: 84.14 kB / 0.7278 GB, free: 8.816 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.4143, allocations: 31.62 kB / 0.7278 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.4144, allocations: 21.72 kB / 0.7278 GB, free: 8.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.84e-05/0.4145, allocations: 310.8 kB / 0.7281 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.4145, allocations: 11.98 kB / 0.7281 GB, free: 8.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.4145, allocations: 12 kB / 0.7281 GB, free: 8.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.126e-05/0.4146, allocations: 28.86 kB / 0.7282 GB, free: 8.391 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.4146, allocations: 0 / 0.7282 GB, free: 8.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.469e-05/0.4147, allocations: 69.62 kB / 0.7282 GB, free: 8.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.4147, allocations: 7.938 kB / 0.7282 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.4147, allocations: 4 kB / 0.7282 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.4147, allocations: 0 / 0.7282 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.4148, allocations: 15.98 kB / 0.7283 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4148, allocations: 0 / 0.7283 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.4148, allocations: 0 / 0.7283 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.4148, allocations: 7.938 kB / 0.7283 GB, free: 8.281 MB / 0.545 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 (7): * Single equations (assignments): 7 * 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.418e-05/0.4149, allocations: 109.8 kB / 0.7284 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.4149, allocations: 11.84 kB / 0.7284 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.415, allocations: 81.8 kB / 0.7285 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.415, allocations: 0.5156 kB / 0.7285 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.4151, allocations: 0 / 0.7285 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4151, allocations: 0 / 0.7285 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.4153, allocations: 315.3 kB / 0.7288 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4153, allocations: 4 kB / 0.7288 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.4154, allocations: 15.98 kB / 0.7288 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4154, allocations: 3.984 kB / 0.7288 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.4154, allocations: 4.188 kB / 0.7288 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4154, allocations: 4.031 kB / 0.7288 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4154, allocations: 4 kB / 0.7288 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.4156, allocations: 176.3 kB / 0.729 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.4156, allocations: 89.03 kB / 0.7291 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.4157, allocations: 0 / 0.7291 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.4157, allocations: 4 kB / 0.7291 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.4158, allocations: 11.92 kB / 0.7291 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.4158, allocations: 8.062 kB / 0.7291 GB, free: 7.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.4158, allocations: 75.28 kB / 0.7291 GB, free: 7.266 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4158, allocations: 0 / 0.7291 GB, free: 7.266 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002305/0.416, allocations: 20 kB / 0.7292 GB, free: 7.246 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0001512/0.4162, allocations: 127.2 kB / 0.7293 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.64e-05/0.4163, allocations: 35.92 kB / 0.7293 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4163, allocations: 0 / 0.7293 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-05/0.4163, allocations: 19.98 kB / 0.7293 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.4165, allocations: 7.938 kB / 0.7294 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.4169, allocations: 212.9 kB / 0.7296 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.4171, allocations: 0.6731 MB / 0.7302 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.4171, allocations: 7.984 kB / 0.7302 GB, free: 6.109 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.4171, allocations: 11.44 kB / 0.7302 GB, free: 6.098 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4171, allocations: 0 / 0.7302 GB, free: 6.098 MB / 0.545 GB Notification: Performance of Templates: time 0.002268/0.4194, allocations: 0.6146 MB / 0.7308 GB, free: 5.52 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)