Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_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.001291/0.001291, allocations: 104.1 kB / 16.27 MB, free: 6.414 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.001309/0.001309, allocations: 191 kB / 17.2 MB, free: 5.953 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.525/2.525, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 65.06 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3312, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00291/0.3342, allocations: 1.269 MB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3354, allocations: 0.6227 MB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.3354, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.3354, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.3356, allocations: 3.938 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.3363, allocations: 144.2 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.3365, allocations: 27.92 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.3365, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.141e-05/0.3366, allocations: 7.938 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.3366, allocations: 8 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3366, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000598/0.3373, allocations: 355.2 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.3373, allocations: 0 / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.3373, allocations: 11.94 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.3376, allocations: 140 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3376, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3377, allocations: 3.938 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3377, allocations: 8 kB / 1.067 GB, free: 12.42 MB / 0.8419 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.0004916/0.3382, allocations: 359.4 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3382, allocations: 12.62 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.3383, allocations: 4.844 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3384, allocations: 164.4 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3384, allocations: 384 / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.3385, allocations: 384 / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.3386, allocations: 42.25 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3386, allocations: 192 / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3386, allocations: 7.938 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3386, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.678e-05/0.3387, allocations: 15.98 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.3389, allocations: 157.6 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3391, allocations: 42.61 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.3392, allocations: 20.84 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3392, allocations: 4.078 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3393, allocations: 38.56 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3393, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0007122/0.34, allocations: 302.2 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.34, allocations: 63.28 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.3401, allocations: 97.84 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3401, allocations: 25.7 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.3402, allocations: 88.14 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.3402, allocations: 19.7 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.3403, allocations: 21.72 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3404, allocations: 318.8 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.3404, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.3405, allocations: 15.98 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.25e-05/0.3405, allocations: 37 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3405, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001012/0.3406, allocations: 61.69 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3407, allocations: 15.88 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3407, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3407, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.3407, allocations: 15.94 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3408, allocations: 0 / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.3408, allocations: 4.062 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.3408, allocations: 8 kB / 1.069 GB, free: 10.22 MB / 0.8419 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 9.758e-05/0.3409, allocations: 112 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.3409, allocations: 11.84 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.3411, allocations: 77.59 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3411, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3411, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3411, allocations: 0 / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.3414, allocations: 315.4 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3415, allocations: 4 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.3415, allocations: 11.94 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3415, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3416, allocations: 8.031 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3416, allocations: 0 / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3416, allocations: 0 / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.3418, allocations: 176.3 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.3419, allocations: 85.05 kB / 1.069 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3419, allocations: 7.984 kB / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.342, allocations: 4 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.342, allocations: 8 kB / 1.069 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.342, allocations: 4 kB / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.3421, allocations: 75.8 kB / 1.069 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3421, allocations: 0 / 1.069 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002717/0.3423, allocations: 27.92 kB / 1.07 GB, free: 9.203 MB / 0.8419 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.0001948/0.3425, allocations: 119.8 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.3427, allocations: 43.86 kB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3427, allocations: 4 kB / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/0.3427, allocations: 16.19 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.3429, allocations: 7.875 kB / 1.07 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.3435, allocations: 226 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.3437, allocations: 0.6826 MB / 1.071 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.3438, allocations: 11.44 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3438, allocations: 3.938 kB / 1.071 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of Templates: time 0.00253/0.3463, allocations: 0.8001 MB / 1.071 GB, free: 7.234 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)