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.001259/0.001259, allocations: 100.1 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.001328/0.001328, 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.596/1.596, 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.658/1.658, allocations: 251.9 MB / 0.51 GB, free: 4.867 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.000619/0.0006192, allocations: 20 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6397, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001444/0.6412, allocations: 0.9806 MB / 0.7289 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000661/0.6419, allocations: 356.5 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.6419, allocations: 0 / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.642, allocations: 0 / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.06e-05/0.642, allocations: 4 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.6424, allocations: 74.64 kB / 0.7294 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.6424, allocations: 11.98 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.6425, allocations: 7.984 kB / 0.7294 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.6425, allocations: 11.94 kB / 0.7294 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.6426, allocations: 3.984 kB / 0.7294 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.6426, allocations: 4 kB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.6429, allocations: 179.7 kB / 0.7296 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.505e-06/0.6429, allocations: 0 / 0.7296 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.643, allocations: 33.7 kB / 0.7296 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.6431, allocations: 49.91 kB / 0.7296 GB, free: 9.711 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6431, allocations: 0 / 0.7296 GB, free: 9.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6431, allocations: 3.938 kB / 0.7296 GB, free: 9.707 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6431, allocations: 4 kB / 0.7296 GB, free: 9.703 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.0003986/0.6435, allocations: 343.3 kB / 0.73 GB, free: 9.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.6436, allocations: 8.031 kB / 0.73 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.6436, allocations: 0 / 0.73 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.6438, allocations: 178.9 kB / 0.7302 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.6438, allocations: 0 / 0.7302 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.6438, allocations: 0 / 0.7302 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.6439, allocations: 41.69 kB / 0.7302 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.644, allocations: 0 / 0.7302 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.644, allocations: 4 kB / 0.7302 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.644, allocations: 0 / 0.7302 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.644, allocations: 12 kB / 0.7302 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.6442, allocations: 161.5 kB / 0.7304 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.6444, allocations: 50.53 kB / 0.7304 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.6445, allocations: 4 kB / 0.7304 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.6445, allocations: 34.56 kB / 0.7304 GB, free: 8.723 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.6445, allocations: 0 / 0.7304 GB, free: 8.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006468/0.6452, allocations: 310.3 kB / 0.7307 GB, free: 8.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.6452, allocations: 51.41 kB / 0.7308 GB, free: 8.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.6453, allocations: 97.8 kB / 0.7309 GB, free: 8.199 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.6453, allocations: 29.7 kB / 0.7309 GB, free: 8.164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.6454, allocations: 88.12 kB / 0.731 GB, free: 8.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.6454, allocations: 19.66 kB / 0.731 GB, free: 8.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.6454, allocations: 4 kB / 0.731 GB, free: 8.051 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6455, allocations: 318.8 kB / 0.7313 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.6456, allocations: 15.92 kB / 0.7313 GB, free: 7.715 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.6456, allocations: 12 kB / 0.7314 GB, free: 7.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.6456, allocations: 12 kB / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.6456, allocations: 0 / 0.7314 GB, free: 7.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.033e-05/0.6457, allocations: 57.69 kB / 0.7314 GB, free: 7.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.6458, allocations: 8 kB / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.6458, allocations: 0 / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6458, allocations: 7.938 kB / 0.7314 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.6459, allocations: 11.98 kB / 0.7314 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.6459, allocations: 0 / 0.7314 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.6459, allocations: 8 kB / 0.7315 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.6459, allocations: 0 / 0.7315 GB, free: 7.594 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.624e-05/0.646, allocations: 120.8 kB / 0.7316 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.646, allocations: 4 kB / 0.7316 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.6462, allocations: 73.67 kB / 0.7316 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6462, allocations: 8 kB / 0.7317 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6462, allocations: 4 kB / 0.7317 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6462, allocations: 0 / 0.7317 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.6465, allocations: 315.4 kB / 0.732 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6466, allocations: 0 / 0.732 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.6466, allocations: 8 kB / 0.732 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.6466, allocations: 4 kB / 0.732 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.6466, allocations: 3.984 kB / 0.732 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6467, allocations: 0 / 0.732 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6467, allocations: 4.031 kB / 0.732 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.6469, allocations: 194 kB / 0.7322 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.6469, allocations: 81.09 kB / 0.7322 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.6469, allocations: 4.031 kB / 0.7322 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.647, allocations: 0 / 0.7322 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.647, allocations: 8.062 kB / 0.7322 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.6471, allocations: 0 / 0.7322 GB, free: 6.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.6471, allocations: 87.78 kB / 0.7323 GB, free: 6.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6471, allocations: 0 / 0.7323 GB, free: 6.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002391/0.6473, allocations: 19.95 kB / 0.7324 GB, free: 6.555 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 (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.00018/0.6475, allocations: 127.2 kB / 0.7325 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.6477, allocations: 31.92 kB / 0.7325 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6477, allocations: 3.938 kB / 0.7325 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.597e-05/0.6477, allocations: 23.94 kB / 0.7325 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.6479, allocations: 0 / 0.7325 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.6483, allocations: 237.5 kB / 0.7328 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.6486, allocations: 0.6809 MB / 0.7334 GB, free: 5.391 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.6486, allocations: 12.36 kB / 0.7334 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.6486, allocations: 11.44 kB / 0.7334 GB, free: 5.367 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.6486, allocations: 0 / 0.7334 GB, free: 5.367 MB / 0.545 GB Notification: Performance of Templates: time 0.002648/0.6513, allocations: 0.5853 MB / 0.734 GB, free: 4.812 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: