Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 104.6 kB / 15.98 MB, free: 6.355 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.001518/0.001518, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.671/2.671, allocations: 469.8 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 69.08 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.325, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002612/0.3277, allocations: 1.347 MB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3288, allocations: 0.6151 MB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.3288, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.3288, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/0.3289, allocations: 3.938 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.3295, allocations: 127.6 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.3296, allocations: 23.88 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.3296, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.3297, allocations: 11.98 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.3297, allocations: 7.938 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3297, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.3303, allocations: 347.3 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.3303, allocations: 0 / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.3303, allocations: 15.92 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.3305, allocations: 100.1 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3305, allocations: 0 / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3305, allocations: 0 / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.3305, allocations: 3.938 kB / 1.067 GB, free: 12.5 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.0005008/0.331, allocations: 359.4 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3311, allocations: 12.03 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3311, allocations: 8.844 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3313, allocations: 164.3 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.3313, allocations: 4.375 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3313, allocations: 4.375 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.3314, allocations: 42.25 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3314, allocations: 192 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3315, allocations: 3.938 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3315, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/0.3315, allocations: 11.98 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.3317, allocations: 157.7 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.3319, allocations: 46.5 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.332, allocations: 16.86 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.332, allocations: 3.938 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.332, allocations: 38.56 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 3.016e-06/0.332, allocations: 3.984 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0006696/0.3327, allocations: 310.2 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.3327, allocations: 55.41 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.3328, allocations: 97.86 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.3329, allocations: 25.7 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.3329, allocations: 80.14 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.333, allocations: 23.7 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.333, allocations: 21.66 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3332, allocations: 318.8 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.3332, allocations: 8 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.3332, allocations: 16 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.367e-05/0.3333, allocations: 36.98 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3333, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001024/0.3334, allocations: 61.7 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3335, allocations: 13.95 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3335, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3335, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.3335, allocations: 15.94 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3336, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.3336, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-06/0.3336, allocations: 4 kB / 1.069 GB, free: 10.31 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.589e-05/0.3337, allocations: 118.4 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.3337, allocations: 7.844 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.3339, allocations: 73.64 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3339, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3339, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3339, allocations: 128 / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.3343, allocations: 323.3 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3343, allocations: 0 / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.3344, allocations: 23.92 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3344, allocations: 0 / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3344, allocations: 0 / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3344, allocations: 4 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3344, allocations: 0 / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.3346, allocations: 180.3 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.3347, allocations: 89.14 kB / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3347, allocations: 0 / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.3348, allocations: 0 / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.3348, allocations: 11.98 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3348, allocations: 4 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.3349, allocations: 75.28 kB / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3349, allocations: 3.938 kB / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002513/0.3351, allocations: 23.94 kB / 1.069 GB, free: 9.277 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001929/0.3353, allocations: 127.2 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.3355, allocations: 35.98 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3355, allocations: 0 / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.3355, allocations: 19.94 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3357, allocations: 3.938 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.3362, allocations: 242.9 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3365, allocations: 0.6768 MB / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.3366, allocations: 11.44 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3366, allocations: 0 / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of Templates: time 0.002541/0.3391, allocations: 0.7962 MB / 1.071 GB, free: 7.309 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)