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.001171/0.001171, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001371/0.001371, allocations: 177.3 kB / 15.95 MB, free: 216 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.638/1.638, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.565/1.565, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.0006228/0.000623, allocations: 20 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5894/0.59, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001872/0.592, allocations: 1.183 MB / 0.7291 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006867/0.5927, allocations: 339.1 kB / 0.7295 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.5927, allocations: 0 / 0.7295 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.5928, allocations: 3.984 kB / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.5928, allocations: 11.98 kB / 0.7295 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.5933, allocations: 71.77 kB / 0.7295 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.5934, allocations: 31.66 kB / 0.7296 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.5934, allocations: 7.984 kB / 0.7296 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.5935, allocations: 23.98 kB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.5936, allocations: 27.86 kB / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.5936, allocations: 0 / 0.7296 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.5939, allocations: 183.7 kB / 0.7298 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.5939, allocations: 15.91 kB / 0.7298 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.594, allocations: 37.7 kB / 0.7299 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.5941, allocations: 69.81 kB / 0.7299 GB, free: 9.434 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.5941, allocations: 0 / 0.7299 GB, free: 9.434 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5941, allocations: 0 / 0.7299 GB, free: 9.434 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5941, allocations: 0 / 0.7299 GB, free: 9.434 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.0005695/0.5947, allocations: 378.3 kB / 0.7303 GB, free: 9.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5948, allocations: 11.97 kB / 0.7303 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.5948, allocations: 7.906 kB / 0.7303 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.5949, allocations: 175 kB / 0.7305 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.595, allocations: 4 kB / 0.7305 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.595, allocations: 8 kB / 0.7305 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.5953, allocations: 77.66 kB / 0.7306 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5953, allocations: 7.906 kB / 0.7306 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.5953, allocations: 4 kB / 0.7306 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5954, allocations: 0 / 0.7306 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.5956, allocations: 63.89 kB / 0.7306 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.5962, allocations: 320.7 kB / 0.7309 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.5965, allocations: 98.47 kB / 0.731 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.5966, allocations: 8.141 kB / 0.731 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.5966, allocations: 34.5 kB / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.5966, allocations: 0 / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001741/0.5984, allocations: 0.6695 MB / 0.7317 GB, free: 7.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.5984, allocations: 55.41 kB / 0.7318 GB, free: 7.273 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.5985, allocations: 105.8 kB / 0.7319 GB, free: 7.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.5985, allocations: 25.7 kB / 0.7319 GB, free: 7.129 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.5986, allocations: 92.08 kB / 0.732 GB, free: 7.035 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.5987, allocations: 39.55 kB / 0.732 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.5987, allocations: 7.938 kB / 0.732 GB, free: 6.988 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5988, allocations: 318.8 kB / 0.7323 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.5989, allocations: 31.98 kB / 0.7324 GB, free: 6.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.5991, allocations: 38.59 kB / 0.7324 GB, free: 6.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.5992, allocations: 43.92 kB / 0.7324 GB, free: 6.559 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5992, allocations: 3.938 kB / 0.7324 GB, free: 6.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003117/0.5996, allocations: 125.7 kB / 0.7326 GB, free: 6.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5996, allocations: 5.875 kB / 0.7326 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.5996, allocations: 0 / 0.7326 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.5996, allocations: 11.95 kB / 0.7326 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.5998, allocations: 23.98 kB / 0.7326 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5998, allocations: 4 kB / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.5999, allocations: 11.98 kB / 0.7326 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5999, allocations: 4 kB / 0.7326 GB, free: 6.367 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.547e-05/0.6, allocations: 113.8 kB / 0.7327 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.6, allocations: 7.906 kB / 0.7327 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.6004, allocations: 129.6 kB / 0.7329 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.6004, allocations: 11.94 kB / 0.7329 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6005, allocations: 4 kB / 0.7329 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6005, allocations: 0 / 0.7329 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.601, allocations: 390.6 kB / 0.7333 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.601, allocations: 0 / 0.7333 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.6012, allocations: 31.97 kB / 0.7333 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6012, allocations: 3.953 kB / 0.7333 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.6012, allocations: 8 kB / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.6013, allocations: 0 / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6013, allocations: 0 / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.6018, allocations: 271.3 kB / 0.7336 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.6018, allocations: 81.02 kB / 0.7336 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.6019, allocations: 8.016 kB / 0.7336 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.602, allocations: 11.98 kB / 0.7336 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.602, allocations: 8 kB / 0.7337 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.602, allocations: 11.92 kB / 0.7337 GB, free: 5.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.6021, allocations: 75.28 kB / 0.7337 GB, free: 5.117 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6021, allocations: 0 / 0.7337 GB, free: 5.117 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002831/0.6024, allocations: 39.94 kB / 0.7338 GB, free: 5.078 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.0002137/0.6026, allocations: 135.2 kB / 0.7339 GB, free: 4.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.6029, allocations: 91.83 kB / 0.734 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6029, allocations: 0 / 0.734 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.6031, allocations: 55.91 kB / 0.734 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.6033, allocations: 8 kB / 0.7341 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.604, allocations: 377.4 kB / 0.7344 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.6043, allocations: 0.6926 MB / 0.7351 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.762e-05/0.6043, allocations: 12.66 kB / 0.7351 GB, free: 3.648 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.6044, allocations: 19.42 kB / 0.7351 GB, free: 3.629 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.6044, allocations: 4 kB / 0.7351 GB, free: 3.625 MB / 0.545 GB Notification: Performance of Templates: time 0.003915/0.6083, allocations: 1.064 MB / 0.7362 GB, free: 2.605 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: