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.0007771/0.0007771, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008708/0.0008709, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.532/1.532, allocations: 252 MB / 0.5102 GB, free: 4.836 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.0005366/0.0005367, allocations: 16 kB / 0.6243 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5108, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002118/0.513, allocations: 1.191 MB / 0.7293 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.5144, allocations: 0.5922 MB / 0.7299 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.5146, allocations: 0 / 0.7299 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.5146, allocations: 3.938 kB / 0.7299 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.5147, allocations: 0 / 0.7299 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008454/0.5155, allocations: 142.2 kB / 0.73 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.5157, allocations: 47.61 kB / 0.73 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.985e-05/0.5157, allocations: 7.891 kB / 0.7301 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.5158, allocations: 19.98 kB / 0.7301 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.5159, allocations: 27.84 kB / 0.7301 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.5159, allocations: 4 kB / 0.7301 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005797/0.5165, allocations: 339.3 kB / 0.7304 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.5165, allocations: 12 kB / 0.7304 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.5166, allocations: 29.7 kB / 0.7305 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.5168, allocations: 121.7 kB / 0.7306 GB, free: 8.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5168, allocations: 0 / 0.7306 GB, free: 8.906 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.747e-06/0.5169, allocations: 0 / 0.7306 GB, free: 8.906 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5169, allocations: 3.938 kB / 0.7306 GB, free: 8.902 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.0007093/0.5176, allocations: 391.1 kB / 0.731 GB, free: 8.473 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5176, allocations: 12.03 kB / 0.731 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.5177, allocations: 4 kB / 0.731 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.5178, allocations: 175 kB / 0.7311 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.5179, allocations: 4 kB / 0.7311 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.5179, allocations: 15.91 kB / 0.7312 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.5182, allocations: 85.64 kB / 0.7312 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.5182, allocations: 0 / 0.7312 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5182, allocations: 4 kB / 0.7312 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.5182, allocations: 0 / 0.7312 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.5184, allocations: 59.89 kB / 0.7313 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.5191, allocations: 332.7 kB / 0.7316 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.5193, allocations: 86.47 kB / 0.7317 GB, free: 7.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.5194, allocations: 32.84 kB / 0.7317 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.5195, allocations: 3.938 kB / 0.7317 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.5195, allocations: 42.55 kB / 0.7318 GB, free: 7.516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.5195, allocations: 0 / 0.7318 GB, free: 7.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.00162/0.5211, allocations: 0.6735 MB / 0.7324 GB, free: 6.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.5212, allocations: 51.41 kB / 0.7325 GB, free: 6.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.5213, allocations: 101.9 kB / 0.7326 GB, free: 6.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.5213, allocations: 25.7 kB / 0.7326 GB, free: 6.547 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.5214, allocations: 92.16 kB / 0.7327 GB, free: 6.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.5214, allocations: 47.3 kB / 0.7327 GB, free: 6.406 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.5214, allocations: 4 kB / 0.7327 GB, free: 6.402 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5216, allocations: 318.8 kB / 0.733 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.5217, allocations: 35.97 kB / 0.7331 GB, free: 6.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.5218, allocations: 35.92 kB / 0.7331 GB, free: 6.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.5219, allocations: 43.98 kB / 0.7332 GB, free: 5.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.522, allocations: 0 / 0.7332 GB, free: 5.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002921/0.5223, allocations: 122.4 kB / 0.7333 GB, free: 5.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.5223, allocations: 4 kB / 0.7333 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5223, allocations: 3.953 kB / 0.7333 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5223, allocations: 4 kB / 0.7333 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.5225, allocations: 27.98 kB / 0.7333 GB, free: 5.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.5225, allocations: 3.984 kB / 0.7333 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.5226, allocations: 11.92 kB / 0.7333 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5226, allocations: 8 kB / 0.7333 GB, free: 5.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.606e-05/0.5227, allocations: 113.8 kB / 0.7334 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.5227, allocations: 7.906 kB / 0.7335 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.5231, allocations: 137.5 kB / 0.7336 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5231, allocations: 3.953 kB / 0.7336 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5231, allocations: 0 / 0.7336 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5231, allocations: 4 kB / 0.7336 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.5236, allocations: 390.4 kB / 0.734 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5237, allocations: 0 / 0.734 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.5238, allocations: 28.17 kB / 0.734 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5238, allocations: 3.953 kB / 0.734 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.5238, allocations: 4 kB / 0.734 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5239, allocations: 0 / 0.734 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5239, allocations: 11.92 kB / 0.734 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.5243, allocations: 255.3 kB / 0.7343 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.5244, allocations: 89.11 kB / 0.7343 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.5244, allocations: 11.94 kB / 0.7343 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5245, allocations: 4 kB / 0.7344 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.5246, allocations: 11.92 kB / 0.7344 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.5246, allocations: 8 kB / 0.7344 GB, free: 4.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.5246, allocations: 79.28 kB / 0.7344 GB, free: 4.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5246, allocations: 0 / 0.7344 GB, free: 4.535 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000284/0.5249, allocations: 43.92 kB / 0.7345 GB, free: 4.492 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002252/0.5252, allocations: 139.2 kB / 0.7346 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.5255, allocations: 85.58 kB / 0.7347 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5255, allocations: 0 / 0.7347 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.5256, allocations: 55.91 kB / 0.7348 GB, free: 4.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.5259, allocations: 8 kB / 0.7348 GB, free: 4.203 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006695/0.5266, allocations: 381.2 kB / 0.7351 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.5269, allocations: 0.6965 MB / 0.7358 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.252e-05/0.527, allocations: 8.672 kB / 0.7358 GB, free: 3.062 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.527, allocations: 19.42 kB / 0.7358 GB, free: 3.043 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.527, allocations: 0 / 0.7358 GB, free: 3.043 MB / 0.545 GB Notification: Performance of Templates: time 0.003448/0.5305, allocations: 1.067 MB / 0.7369 GB, free: 2.023 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: