Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001312/0.001312, allocations: 195.6 kB / 16.14 MB, free: 6.688 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 472.6 MB / 0.7447 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.64 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3145, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002985/0.3176, allocations: 1.532 MB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3188, allocations: 0.6462 MB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.3188, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.52e-05/0.3189, allocations: 3.984 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.319, allocations: 3.938 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.3196, allocations: 131.6 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.343e-05/0.3197, allocations: 55.78 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.3197, allocations: 8 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.581e-05/0.3198, allocations: 23.91 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.004e-05/0.3198, allocations: 23.92 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3199, allocations: 4 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005836/0.3204, allocations: 347.3 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.3205, allocations: 15.86 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.3205, allocations: 27.84 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.3208, allocations: 163.9 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3208, allocations: 4 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3208, allocations: 0 / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3208, allocations: 7.938 kB / 1.07 GB, free: 7.926 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006583/0.3215, allocations: 395.3 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3216, allocations: 8.031 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.3216, allocations: 12.84 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3218, allocations: 168.4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3218, allocations: 12.31 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3218, allocations: 4.375 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.3221, allocations: 82.2 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3221, allocations: 192 / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.3221, allocations: 11.92 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3221, allocations: 4 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.3225, allocations: 55.39 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.323, allocations: 320.6 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3233, allocations: 82.47 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.3235, allocations: 28.84 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3235, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3235, allocations: 34.56 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3235, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.00201/0.3255, allocations: 0.654 MB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3256, allocations: 51.41 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.3257, allocations: 105.8 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3257, allocations: 29.7 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.3258, allocations: 84.05 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.3258, allocations: 47.44 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.3259, allocations: 29.7 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.326, allocations: 314.8 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3262, allocations: 40.09 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.3263, allocations: 31.92 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.3266, allocations: 68.83 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3266, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000337/0.327, allocations: 117.6 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.327, allocations: 8 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.327, allocations: 0 / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.327, allocations: 3.984 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3272, allocations: 27.92 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3272, allocations: 3.984 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.3273, allocations: 11.94 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3273, allocations: 4 kB / 1.073 GB, free: 4.809 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 0.0001439/0.3275, allocations: 117.8 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.3275, allocations: 8 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.3279, allocations: 133.4 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3279, allocations: 0 / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3279, allocations: 4 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3279, allocations: 3.938 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.3285, allocations: 378.5 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3285, allocations: 4 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.3287, allocations: 27.92 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3287, allocations: 4 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3287, allocations: 3.938 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.868e-05/0.3288, allocations: 7.984 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3288, allocations: 192 / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.3294, allocations: 247.4 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.3294, allocations: 89.03 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3295, allocations: 3.938 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.3296, allocations: 8 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.3296, allocations: 7.984 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3296, allocations: 4 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001714/0.3298, allocations: 87.27 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3298, allocations: 0 / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002862/0.3301, allocations: 35.94 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002359/0.3303, allocations: 147.1 kB / 1.074 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.3307, allocations: 83.95 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3307, allocations: 0 / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3309, allocations: 47.91 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.3312, allocations: 10.81 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.3319, allocations: 343.4 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.3325, allocations: 0.6965 MB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.95e-05/0.3325, allocations: 12.61 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.3326, allocations: 15.42 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.3326, allocations: 0 / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of Templates: time 0.004856/0.3375, allocations: 1.107 MB / 1.077 GB, free: 1.078 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)