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_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 99.86 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.001727/0.001727, allocations: 177.3 kB / 15.94 MB, free: 228 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.723/1.723, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.677/1.677, allocations: 251.9 MB / 0.51 GB, free: 4.852 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.0005907/0.0005909, allocations: 12 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5481/0.5487, allocations: 106.4 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00118/0.5499, allocations: 0.9962 MB / 0.729 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005552/0.5505, allocations: 344.7 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.547e-05/0.5505, allocations: 3.938 kB / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.5506, allocations: 0 / 0.7293 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.141e-05/0.5506, allocations: 8 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.5509, allocations: 74.14 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.074e-05/0.551, allocations: 27.89 kB / 0.7294 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.551, allocations: 4 kB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.5511, allocations: 4 kB / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.5511, allocations: 15.92 kB / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.5511, allocations: 4 kB / 0.7294 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.5514, allocations: 175.7 kB / 0.7296 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.5514, allocations: 15.97 kB / 0.7296 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.5515, allocations: 33.7 kB / 0.7296 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.5516, allocations: 53.91 kB / 0.7297 GB, free: 9.668 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.5516, allocations: 0 / 0.7297 GB, free: 9.668 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5516, allocations: 0 / 0.7297 GB, free: 9.668 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.5516, allocations: 3.938 kB / 0.7297 GB, free: 9.664 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003642/0.552, allocations: 350.3 kB / 0.73 GB, free: 9.277 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.552, allocations: 12.03 kB / 0.73 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.5521, allocations: 0 / 0.73 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.5522, allocations: 171 kB / 0.7302 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.5522, allocations: 7.938 kB / 0.7302 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.5522, allocations: 7.906 kB / 0.7302 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.5523, allocations: 45.69 kB / 0.7303 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.5524, allocations: 0 / 0.7303 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.5524, allocations: 4 kB / 0.7303 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.5524, allocations: 3.984 kB / 0.7303 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.5524, allocations: 19.94 kB / 0.7303 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.5526, allocations: 169.6 kB / 0.7304 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.568e-05/0.5527, allocations: 62.5 kB / 0.7305 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.5527, allocations: 240 / 0.7305 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.5528, allocations: 30.56 kB / 0.7305 GB, free: 8.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.5528, allocations: 0 / 0.7305 GB, free: 8.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001036/0.5538, allocations: 0.5916 MB / 0.7311 GB, free: 7.957 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.5539, allocations: 55.41 kB / 0.7312 GB, free: 7.891 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.5539, allocations: 97.84 kB / 0.7313 GB, free: 7.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.5539, allocations: 29.7 kB / 0.7313 GB, free: 7.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.554, allocations: 84 kB / 0.7314 GB, free: 7.664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.554, allocations: 43.44 kB / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.554, allocations: 0 / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.5541, allocations: 326.9 kB / 0.7317 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.5542, allocations: 15.98 kB / 0.7317 GB, free: 7.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.5542, allocations: 20 kB / 0.7318 GB, free: 7.258 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/0.5543, allocations: 28 kB / 0.7318 GB, free: 7.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5543, allocations: 7.922 kB / 0.7318 GB, free: 7.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001358/0.5544, allocations: 93.59 kB / 0.7319 GB, free: 7.125 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5544, allocations: 6.188 kB / 0.7319 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5545, allocations: 0 / 0.7319 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.5545, allocations: 4 kB / 0.7319 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.5546, allocations: 19.98 kB / 0.7319 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5546, allocations: 4 kB / 0.7319 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.5546, allocations: 4 kB / 0.7319 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.5546, allocations: 0 / 0.7319 GB, free: 7.09 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 7.961e-05/0.5547, allocations: 125.7 kB / 0.732 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.5547, allocations: 7.906 kB / 0.732 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.5549, allocations: 109.6 kB / 0.7321 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5549, allocations: 0 / 0.7321 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5549, allocations: 0 / 0.7321 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.555, allocations: 8 kB / 0.7322 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.5553, allocations: 350.4 kB / 0.7325 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.5553, allocations: 4 kB / 0.7325 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.5554, allocations: 23.98 kB / 0.7325 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.5554, allocations: 4 kB / 0.7325 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.5555, allocations: 0 / 0.7325 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5555, allocations: 0 / 0.7325 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5555, allocations: 0 / 0.7325 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.5557, allocations: 226.6 kB / 0.7327 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.5557, allocations: 81.05 kB / 0.7328 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.5558, allocations: 0 / 0.7328 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.5559, allocations: 11.98 kB / 0.7328 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.5559, allocations: 4 kB / 0.7328 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.5559, allocations: 0 / 0.7328 GB, free: 6.047 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.5559, allocations: 83.27 kB / 0.7329 GB, free: 5.965 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5559, allocations: 0 / 0.7329 GB, free: 5.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002567/0.5562, allocations: 44.09 kB / 0.7329 GB, free: 5.922 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.000194/0.5564, allocations: 127.2 kB / 0.7331 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.5565, allocations: 63.91 kB / 0.7331 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5566, allocations: 0 / 0.7331 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.5566, allocations: 35.92 kB / 0.7332 GB, free: 5.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.5567, allocations: 7.953 kB / 0.7332 GB, free: 5.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.5572, allocations: 332.4 kB / 0.7335 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.5575, allocations: 0.6965 MB / 0.7342 GB, free: 4.602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.5575, allocations: 4 kB / 0.7342 GB, free: 4.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.5576, allocations: 23.42 kB / 0.7342 GB, free: 4.574 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.5576, allocations: 0 / 0.7342 GB, free: 4.574 MB / 0.545 GB Notification: Performance of Templates: time 0.002862/0.5604, allocations: 0.8895 MB / 0.7351 GB, free: 3.715 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: