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_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 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001389/0.001389, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001703/0.001703, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.338/1.338, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.474/1.474, allocations: 251.7 MB / 0.5089 GB, free: 3.336 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.001264/0.001264, allocations: 67.89 kB / 0.6217 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4692, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003433/0.4727, allocations: 1.537 MB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.4739, allocations: 0.6423 MB / 0.7261 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.474, allocations: 0 / 0.7261 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.474, allocations: 3.938 kB / 0.7261 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.904e-05/0.4741, allocations: 4 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.4747, allocations: 143.5 kB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.4748, allocations: 47.67 kB / 0.7263 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.4748, allocations: 4 kB / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.102e-05/0.4749, allocations: 27.92 kB / 0.7263 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.4749, allocations: 31.83 kB / 0.7264 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.475, allocations: 4 kB / 0.7264 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.4754, allocations: 347.3 kB / 0.7267 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.4754, allocations: 8 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.4755, allocations: 27.86 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.4758, allocations: 177.5 kB / 0.7269 GB, free: 10.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4758, allocations: 4 kB / 0.7269 GB, free: 10.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4759, allocations: 4 kB / 0.7269 GB, free: 10.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4759, allocations: 0 / 0.7269 GB, free: 10.09 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006793/0.4766, allocations: 395.2 kB / 0.7273 GB, free: 9.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4766, allocations: 8.031 kB / 0.7273 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.4767, allocations: 4.938 kB / 0.7273 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.4768, allocations: 176.2 kB / 0.7275 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.4768, allocations: 8.375 kB / 0.7275 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.4768, allocations: 8.312 kB / 0.7275 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.4771, allocations: 82.22 kB / 0.7276 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.4771, allocations: 4.188 kB / 0.7276 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.4772, allocations: 3.938 kB / 0.7276 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4772, allocations: 0 / 0.7276 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.4774, allocations: 51.94 kB / 0.7276 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.478, allocations: 324.6 kB / 0.7279 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.4782, allocations: 82.53 kB / 0.728 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.4783, allocations: 24.84 kB / 0.728 GB, free: 8.781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.4784, allocations: 7.984 kB / 0.728 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.4784, allocations: 42.5 kB / 0.7281 GB, free: 8.723 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4784, allocations: 0 / 0.7281 GB, free: 8.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001618/0.48, allocations: 0.6462 MB / 0.7287 GB, free: 7.984 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.4801, allocations: 51.41 kB / 0.7288 GB, free: 7.922 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.4802, allocations: 101.8 kB / 0.7289 GB, free: 7.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.4802, allocations: 25.7 kB / 0.7289 GB, free: 7.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.4803, allocations: 99.97 kB / 0.729 GB, free: 7.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.4803, allocations: 39.39 kB / 0.729 GB, free: 7.641 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.4804, allocations: 29.72 kB / 0.7291 GB, free: 7.605 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4805, allocations: 318.8 kB / 0.7294 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.4806, allocations: 27.98 kB / 0.7294 GB, free: 7.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.4807, allocations: 38.84 kB / 0.7294 GB, free: 7.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.481, allocations: 72.95 kB / 0.7295 GB, free: 7.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.481, allocations: 0 / 0.7295 GB, free: 7.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003158/0.4813, allocations: 117.6 kB / 0.7296 GB, free: 7.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4813, allocations: 4 kB / 0.7296 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4814, allocations: 3.984 kB / 0.7296 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4814, allocations: 4 kB / 0.7296 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4815, allocations: 27.98 kB / 0.7296 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4816, allocations: 4 kB / 0.7296 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.4816, allocations: 11.92 kB / 0.7297 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.4816, allocations: 4 kB / 0.7297 GB, free: 6.969 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 (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 9.208e-05/0.4817, allocations: 113.8 kB / 0.7298 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.4818, allocations: 11.84 kB / 0.7298 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.4822, allocations: 129.6 kB / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4822, allocations: 0 / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4822, allocations: 0 / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4822, allocations: 4.031 kB / 0.7299 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.4827, allocations: 394.5 kB / 0.7303 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4828, allocations: 3.984 kB / 0.7303 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.4829, allocations: 23.98 kB / 0.7303 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4829, allocations: 0 / 0.7303 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.4829, allocations: 7.938 kB / 0.7303 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4829, allocations: 0 / 0.7303 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4829, allocations: 0 / 0.7303 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.4834, allocations: 255.3 kB / 0.7306 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.4835, allocations: 81.2 kB / 0.7306 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.4835, allocations: 7.969 kB / 0.7306 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4837, allocations: 11.98 kB / 0.7307 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.4837, allocations: 11.97 kB / 0.7307 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.4837, allocations: 4 kB / 0.7307 GB, free: 5.824 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.4838, allocations: 79.28 kB / 0.7307 GB, free: 5.746 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4838, allocations: 64 / 0.7307 GB, free: 5.746 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003118/0.4841, allocations: 47.94 kB / 0.7308 GB, free: 5.699 MB / 0.545 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.0002609/0.4843, allocations: 135.1 kB / 0.7309 GB, free: 5.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.4847, allocations: 90.89 kB / 0.731 GB, free: 5.473 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4847, allocations: 0 / 0.731 GB, free: 5.473 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.4848, allocations: 47.91 kB / 0.7311 GB, free: 5.426 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.4851, allocations: 12 kB / 0.7311 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/0.4859, allocations: 333.7 kB / 0.7314 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4862, allocations: 0.6963 MB / 0.7321 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.354e-05/0.4862, allocations: 4.672 kB / 0.7321 GB, free: 4.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.4863, allocations: 15.44 kB / 0.7321 GB, free: 4.312 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4863, allocations: 3.938 kB / 0.7321 GB, free: 4.309 MB / 0.545 GB Notification: Performance of Templates: time 0.003923/0.4902, allocations: 1.133 MB / 0.7332 GB, free: 3.223 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)