Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.001702/0.001702, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 60.33 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3059, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002748/0.3087, allocations: 1.269 MB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3098, allocations: 0.617 MB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.3099, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.3099, allocations: 3.938 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.31, allocations: 4 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.3107, allocations: 143.4 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.725e-05/0.3108, allocations: 19.92 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.3108, allocations: 4 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.3109, allocations: 11.94 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.3109, allocations: 11.97 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3109, allocations: 7.938 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.3115, allocations: 339.3 kB / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.3115, allocations: 4 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.3116, allocations: 15.92 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.3119, allocations: 144 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3119, allocations: 0 / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3119, allocations: 0 / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3119, allocations: 0 / 1.071 GB, free: 7.852 MB / 0.8262 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.0005931/0.3125, allocations: 363.4 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.3126, allocations: 12.03 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.3127, allocations: 8.844 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3128, allocations: 168.3 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3128, allocations: 384 / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3129, allocations: 4.375 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.313, allocations: 38.25 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.313, allocations: 192 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.313, allocations: 7.938 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.313, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.3131, allocations: 8 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.3133, allocations: 161.7 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.3135, allocations: 46.55 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.3135, allocations: 20.94 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3136, allocations: 3.984 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3136, allocations: 30.56 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.3136, allocations: 4 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0007151/0.3143, allocations: 318.1 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3144, allocations: 51.41 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.3145, allocations: 97.84 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3145, allocations: 25.7 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.3145, allocations: 84.14 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.3146, allocations: 15.72 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.3146, allocations: 29.64 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3147, allocations: 314.8 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.3148, allocations: 12 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.3148, allocations: 15.92 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.3149, allocations: 32.86 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3149, allocations: 4.062 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.689e-05/0.315, allocations: 61.59 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.315, allocations: 11.94 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.315, allocations: 0 / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.315, allocations: 7.938 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.3151, allocations: 11.98 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3151, allocations: 3.938 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.3151, allocations: 8 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3151, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.459e-05/0.3152, allocations: 109.8 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.3153, allocations: 3.938 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.3154, allocations: 69.66 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3154, allocations: 11.98 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3154, allocations: 0 / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3154, allocations: 0 / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.3157, allocations: 315.3 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3158, allocations: 0 / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.3158, allocations: 12 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3158, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3158, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3159, allocations: 8.156 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3159, allocations: 4 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.3161, allocations: 184.3 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.3161, allocations: 81.12 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.3161, allocations: 8.188 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.3162, allocations: 4 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.3162, allocations: 4 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3162, allocations: 0 / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.3163, allocations: 87.33 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3163, allocations: 0 / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000254/0.3166, allocations: 27.94 kB / 1.073 GB, free: 4.609 MB / 0.8262 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 (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.0002013/0.3168, allocations: 116.4 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.3169, allocations: 35.98 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3169, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.3169, allocations: 19.94 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.3172, allocations: 23.92 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.3177, allocations: 199.7 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3179, allocations: 0.6844 MB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.318, allocations: 11.92 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.318, allocations: 11.44 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.318, allocations: 0 / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of Templates: time 0.002921/0.3209, allocations: 0.6238 MB / 1.075 GB, free: 2.859 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)