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.0008438/0.0008438, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005399/0.005399, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.437/1.437, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.495/1.495, allocations: 252 MB / 0.5105 GB, free: 4.668 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.0007834/0.0007834, allocations: 12 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5108, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001304/0.5122, allocations: 1.018 MB / 0.7297 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009754/0.5132, allocations: 0.6113 MB / 0.7303 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.5132, allocations: 0 / 0.7303 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.5132, allocations: 0 / 0.7303 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.966e-05/0.5133, allocations: 11.91 kB / 0.7303 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.5137, allocations: 127.6 kB / 0.7305 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.825e-05/0.5138, allocations: 23.92 kB / 0.7305 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.5138, allocations: 0 / 0.7305 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.5138, allocations: 19.91 kB / 0.7305 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.5139, allocations: 15.92 kB / 0.7305 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.5139, allocations: 4 kB / 0.7305 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.5144, allocations: 343.3 kB / 0.7308 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.5144, allocations: 4 kB / 0.7308 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.5144, allocations: 37.64 kB / 0.7309 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.5147, allocations: 153.6 kB / 0.731 GB, free: 8.898 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.5147, allocations: 4 kB / 0.731 GB, free: 8.895 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5147, allocations: 4 kB / 0.731 GB, free: 8.891 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.5147, allocations: 4 kB / 0.731 GB, free: 8.887 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.0003686/0.5151, allocations: 359.4 kB / 0.7314 GB, free: 8.484 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.5151, allocations: 8.031 kB / 0.7314 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.5151, allocations: 0.9375 kB / 0.7314 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5153, allocations: 168.4 kB / 0.7316 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5153, allocations: 4.375 kB / 0.7316 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.5153, allocations: 12.27 kB / 0.7316 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.5154, allocations: 58.19 kB / 0.7316 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5154, allocations: 192 / 0.7316 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.5155, allocations: 3.938 kB / 0.7316 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5155, allocations: 0 / 0.7316 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.5155, allocations: 19.98 kB / 0.7316 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.5157, allocations: 169.5 kB / 0.7318 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.5158, allocations: 54.56 kB / 0.7319 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.5158, allocations: 36.84 kB / 0.7319 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.5159, allocations: 3.938 kB / 0.7319 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.5159, allocations: 30.56 kB / 0.7319 GB, free: 7.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.5159, allocations: 0 / 0.7319 GB, free: 7.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001067/0.517, allocations: 0.5917 MB / 0.7325 GB, free: 7.129 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.517, allocations: 59.34 kB / 0.7326 GB, free: 7.059 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.5171, allocations: 97.84 kB / 0.7327 GB, free: 6.953 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.5171, allocations: 29.7 kB / 0.7327 GB, free: 6.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.5172, allocations: 88 kB / 0.7328 GB, free: 6.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.5172, allocations: 39.44 kB / 0.7328 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.5172, allocations: 17.72 kB / 0.7328 GB, free: 6.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5173, allocations: 319 kB / 0.7331 GB, free: 6.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.5174, allocations: 20 kB / 0.7331 GB, free: 6.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.611e-05/0.5174, allocations: 26.86 kB / 0.7332 GB, free: 6.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.649e-05/0.5175, allocations: 56.86 kB / 0.7332 GB, free: 6.344 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5175, allocations: 3.938 kB / 0.7332 GB, free: 6.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001486/0.5177, allocations: 101.5 kB / 0.7333 GB, free: 6.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.5177, allocations: 4 kB / 0.7333 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.5177, allocations: 0 / 0.7333 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5177, allocations: 4 kB / 0.7333 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.5178, allocations: 23.98 kB / 0.7334 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.5178, allocations: 4 kB / 0.7334 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.5179, allocations: 0 / 0.7334 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.5179, allocations: 4 kB / 0.7334 GB, free: 6.195 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 6.932e-05/0.518, allocations: 117.8 kB / 0.7335 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.518, allocations: 11.84 kB / 0.7335 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.5182, allocations: 113.7 kB / 0.7336 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.5182, allocations: 0 / 0.7336 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5182, allocations: 0 / 0.7336 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5182, allocations: 8 kB / 0.7336 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.5186, allocations: 346.5 kB / 0.7339 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5186, allocations: 0 / 0.7339 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.5187, allocations: 20 kB / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5187, allocations: 0 / 0.734 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.5187, allocations: 11.98 kB / 0.734 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5187, allocations: 3.938 kB / 0.734 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5187, allocations: 0 / 0.734 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.519, allocations: 223.6 kB / 0.7342 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.519, allocations: 81.11 kB / 0.7343 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.519, allocations: 4.031 kB / 0.7343 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.5191, allocations: 3.984 kB / 0.7343 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.5192, allocations: 4 kB / 0.7343 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.5192, allocations: 8 kB / 0.7343 GB, free: 5.148 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.5192, allocations: 75.28 kB / 0.7344 GB, free: 5.074 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5192, allocations: 0 / 0.7344 GB, free: 5.074 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002591/0.5195, allocations: 40.08 kB / 0.7344 GB, free: 5.035 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 (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.0001846/0.5197, allocations: 139.2 kB / 0.7345 GB, free: 4.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.5198, allocations: 74.09 kB / 0.7346 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5198, allocations: 0 / 0.7346 GB, free: 4.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.5199, allocations: 31.92 kB / 0.7346 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.5201, allocations: 8 kB / 0.7346 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.5206, allocations: 352.1 kB / 0.735 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.5209, allocations: 0.6848 MB / 0.7356 GB, free: 3.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.447e-05/0.5209, allocations: 11.98 kB / 0.7356 GB, free: 3.684 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.521, allocations: 11.44 kB / 0.7357 GB, free: 3.672 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.521, allocations: 4 kB / 0.7357 GB, free: 3.668 MB / 0.545 GB Notification: Performance of Templates: time 0.002947/0.5239, allocations: 0.901 MB / 0.7365 GB, free: 2.801 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: