Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.001338/0.001337, 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.001441/0.001441, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.714/2.714, allocations: 472.6 MB / 0.7451 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 61.23 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3118, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.0022/0.3141, allocations: 1.28 MB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.3151, allocations: 0.621 MB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.3151, allocations: 3.938 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.3151, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.3152, allocations: 3.938 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.3157, allocations: 151.4 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.3157, allocations: 35.84 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.3158, allocations: 8 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.31e-05/0.3158, allocations: 8 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.3159, allocations: 15.92 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3159, allocations: 4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.3164, allocations: 339.3 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.3164, allocations: 11.98 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.3164, allocations: 11.94 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.3167, allocations: 155.9 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3167, allocations: 0 / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3167, allocations: 4 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.3167, allocations: 0 / 1.071 GB, free: 7.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003958/0.3171, allocations: 367.4 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3172, allocations: 8.031 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.3172, allocations: 12.78 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3173, allocations: 164.3 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3173, allocations: 4.375 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3174, allocations: 384 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.3175, allocations: 54.23 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.3175, allocations: 4.188 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3175, allocations: 3.938 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3175, allocations: 4 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.3176, allocations: 15.98 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.3177, allocations: 173.6 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3179, allocations: 58.5 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.3179, allocations: 28.84 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3179, allocations: 4 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.318, allocations: 34.56 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.318, allocations: 0 / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001146/0.3191, allocations: 0.5956 MB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.3192, allocations: 55.41 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.048e-05/0.3192, allocations: 97.86 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3193, allocations: 25.7 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.3193, allocations: 84 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.3193, allocations: 43.39 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.3194, allocations: 25.7 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3195, allocations: 318.8 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.3196, allocations: 28.11 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.3196, allocations: 23.92 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.301e-05/0.3197, allocations: 56.23 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3197, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001548/0.3199, allocations: 105.5 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3199, allocations: 5.562 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3199, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3199, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.32, allocations: 27.94 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.32, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.3201, allocations: 4 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.3201, allocations: 7.984 kB / 1.073 GB, free: 5.023 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 (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 7.632e-05/0.3202, allocations: 109.8 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.3202, allocations: 7.938 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.3204, allocations: 105.5 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3204, allocations: 4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3204, allocations: 4 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3204, allocations: 3.984 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.3208, allocations: 354.5 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3208, allocations: 3.984 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.321, allocations: 19.94 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.321, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.321, allocations: 8 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.321, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.321, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3212, allocations: 219.4 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.3213, allocations: 85.14 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3213, allocations: 7.875 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.3214, allocations: 4 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.3214, allocations: 3.984 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.3215, allocations: 8 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.3215, allocations: 79.28 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3215, allocations: 0 / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002715/0.3218, allocations: 35.98 kB / 1.074 GB, free: 3.871 MB / 0.8262 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.0002062/0.322, allocations: 135.8 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.3222, allocations: 71.84 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3222, allocations: 0 / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.3222, allocations: 36.42 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.3225, allocations: 4.219 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.323, allocations: 300.8 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.3233, allocations: 0.6846 MB / 1.075 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.573e-05/0.3233, allocations: 7.984 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.3234, allocations: 15.44 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3234, allocations: 4 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of Templates: time 0.003288/0.3267, allocations: 0.9449 MB / 1.076 GB, free: 1.656 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)