Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001126/0.001126, allocations: 98.16 kB / 15.98 MB, free: 6.363 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.00112/0.00112, allocations: 199 kB / 16.91 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7701/0.7701, allocations: 122.9 MB / 413.6 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 63.91 kB / 0.4906 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3411, allocations: 77.92 MB / 0.5667 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002169/0.3434, allocations: 1.315 MB / 0.568 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008262/0.3442, allocations: 0.6031 MB / 0.5686 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.3442, allocations: 0 / 0.5686 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.3443, allocations: 7.188 kB / 0.5686 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.3443, allocations: 1.094 kB / 0.5686 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.3448, allocations: 125.9 kB / 0.5687 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.543e-05/0.3448, allocations: 27.73 kB / 0.5687 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.3449, allocations: 3.234 kB / 0.5687 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.3449, allocations: 9.219 kB / 0.5687 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.345, allocations: 9.344 kB / 0.5687 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.345, allocations: 2.031 kB / 0.5688 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.3454, allocations: 347.5 kB / 0.5691 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.3454, allocations: 1.344 kB / 0.5691 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.3455, allocations: 13.44 kB / 0.5691 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.3457, allocations: 151.6 kB / 0.5692 GB, free: 31.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3457, allocations: 0 / 0.5692 GB, free: 31.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3457, allocations: 0.5938 kB / 0.5692 GB, free: 31.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3457, allocations: 2.125 kB / 0.5692 GB, free: 31.03 MB / 446.1 MB 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.0003036/0.346, allocations: 357.3 kB / 0.5696 GB, free: 30.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3461, allocations: 11.17 kB / 0.5696 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.3461, allocations: 3.188 kB / 0.5696 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.199e-05/0.3462, allocations: 166.8 kB / 0.5698 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3462, allocations: 2.062 kB / 0.5698 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3462, allocations: 6 kB / 0.5698 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.283e-05/0.3463, allocations: 45.72 kB / 0.5698 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.3463, allocations: 192 / 0.5698 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3464, allocations: 5.719 kB / 0.5698 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3464, allocations: 1.062 kB / 0.5698 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.3464, allocations: 12.36 kB / 0.5698 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.3465, allocations: 159.8 kB / 0.57 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3467, allocations: 49.75 kB / 0.57 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.3467, allocations: 18.45 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3468, allocations: 1.875 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.3468, allocations: 36.28 kB / 0.5701 GB, free: 30.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3468, allocations: 1.312 kB / 0.5701 GB, free: 30.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005249/0.3473, allocations: 316.8 kB / 0.5704 GB, free: 29.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.3473, allocations: 53.81 kB / 0.5704 GB, free: 29.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.26e-05/0.3474, allocations: 95.97 kB / 0.5705 GB, free: 29.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.026e-06/0.3474, allocations: 27.08 kB / 0.5706 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/0.3474, allocations: 84.77 kB / 0.5706 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3475, allocations: 25.41 kB / 0.5707 GB, free: 29.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3475, allocations: 20.59 kB / 0.5707 GB, free: 29.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.3475, allocations: 318.9 kB / 0.571 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.3476, allocations: 11.88 kB / 0.571 GB, free: 29.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.3476, allocations: 9.281 kB / 0.571 GB, free: 29.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.3477, allocations: 36.42 kB / 0.571 GB, free: 29.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3477, allocations: 0 / 0.571 GB, free: 29.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.709e-05/0.3478, allocations: 69.53 kB / 0.5711 GB, free: 29.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3478, allocations: 11.22 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3478, allocations: 1.359 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3478, allocations: 1.031 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.3479, allocations: 12.06 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3479, allocations: 0.5625 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.3479, allocations: 5.562 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.3479, allocations: 3.562 kB / 0.5711 GB, free: 29.11 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.3479, allocations: 111.7 kB / 0.5712 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.348, allocations: 6.453 kB / 0.5712 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.3481, allocations: 74.8 kB / 0.5713 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3481, allocations: 1.062 kB / 0.5713 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3481, allocations: 0.8906 kB / 0.5713 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3481, allocations: 1.516 kB / 0.5713 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.3484, allocations: 318.8 kB / 0.5716 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3484, allocations: 1.156 kB / 0.5716 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.3484, allocations: 13.05 kB / 0.5716 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3485, allocations: 1.156 kB / 0.5716 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.3485, allocations: 1.25 kB / 0.5716 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3485, allocations: 2.031 kB / 0.5716 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3485, allocations: 3.938 kB / 0.5716 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.3486, allocations: 185.5 kB / 0.5718 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.3487, allocations: 84.23 kB / 0.5719 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3487, allocations: 5.703 kB / 0.5719 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.3488, allocations: 3.062 kB / 0.5719 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.3488, allocations: 3.859 kB / 0.5719 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.3488, allocations: 1.094 kB / 0.5719 GB, free: 28.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.959e-05/0.3488, allocations: 80.27 kB / 0.572 GB, free: 28.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.3488, allocations: 0 / 0.572 GB, free: 28.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000243/0.3491, allocations: 27.95 kB / 0.572 GB, free: 28.26 MB / 446.1 MB 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 (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.0001516/0.3492, allocations: 127.1 kB / 0.5721 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.723e-05/0.3493, allocations: 36.34 kB / 0.5722 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3493, allocations: 1.156 kB / 0.5722 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.3494, allocations: 22.09 kB / 0.5722 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.3496, allocations: 14.62 kB / 0.5722 GB, free: 28.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.3499, allocations: 197.3 kB / 0.5724 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.936e-05/0.35, allocations: 0.6796 MB / 0.5731 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.017e-05/0.3501, allocations: 9.734 kB / 0.5731 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.3501, allocations: 11.3 kB / 0.5731 GB, free: 27.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3501, allocations: 4.844 kB / 0.5731 GB, free: 27.27 MB / 446.1 MB Notification: Performance of Templates: time 0.002648/0.3528, allocations: 0.6198 MB / 0.5737 GB, free: 27.25 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)