Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_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_11_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.001596/0.001596, allocations: 103.7 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.00168/0.00168, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.663/2.663, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001962, allocations: 63.41 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3644, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00265/0.3671, allocations: 1.333 MB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3683, allocations: 0.6189 MB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.3683, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.3683, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.3684, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.369, allocations: 127.6 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.513e-05/0.369, allocations: 15.94 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.3691, allocations: 7.922 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.3691, allocations: 19.92 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.3692, allocations: 7.938 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3692, allocations: 4 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.3697, allocations: 339.4 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.3697, allocations: 7.938 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.3698, allocations: 15.86 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.37, allocations: 96.11 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.37, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.893e-06/0.37, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.37, allocations: 0 / 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.0005051/0.3705, allocations: 363.4 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.3706, allocations: 12.03 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.3706, allocations: 4.844 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3708, allocations: 160.4 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3708, allocations: 8.375 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3708, allocations: 384 / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.371, allocations: 42.25 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.371, allocations: 192 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.371, allocations: 3.938 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.371, allocations: 4 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.683e-05/0.3711, allocations: 15.92 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.3713, allocations: 157.7 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.3715, allocations: 38.56 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.3715, allocations: 16.86 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.3716, allocations: 0 / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3716, allocations: 38.56 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3716, allocations: 3.938 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0007096/0.3723, allocations: 314.2 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.3724, allocations: 51.41 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.3724, allocations: 98.19 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3725, allocations: 25.7 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.3725, allocations: 80.14 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.3726, allocations: 27.69 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.3726, allocations: 21.72 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3728, allocations: 318.8 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/0.3728, allocations: 8 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.3728, allocations: 16.06 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/0.3729, allocations: 32.84 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3729, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001042/0.373, allocations: 65.64 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3731, allocations: 7.938 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3731, allocations: 7.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3731, allocations: 192 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.406e-05/0.3731, allocations: 12 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3732, allocations: 0 / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.3732, allocations: 3.938 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3732, allocations: 3.984 kB / 1.069 GB, free: 10.3 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.84e-05/0.3733, allocations: 115.6 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.3733, allocations: 7.844 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.3735, allocations: 85.8 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3735, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3735, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3735, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.3739, allocations: 315.3 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3739, allocations: 0 / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.507e-05/0.374, allocations: 15.98 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.374, allocations: 0 / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.374, allocations: 4 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.374, allocations: 4 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.374, allocations: 4.031 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.3742, allocations: 176.5 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.3743, allocations: 88.98 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3743, allocations: 7.938 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.3744, allocations: 0 / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.3744, allocations: 7.984 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3745, allocations: 12.06 kB / 1.069 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.3745, allocations: 75.28 kB / 1.069 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3745, allocations: 0 / 1.069 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002608/0.3748, allocations: 23.94 kB / 1.069 GB, free: 9.266 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.0002342/0.375, allocations: 123.2 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.3752, allocations: 35.94 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3752, allocations: 0 / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-05/0.3752, allocations: 16.05 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.3754, allocations: 11.94 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.376, allocations: 234.1 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3763, allocations: 0.6788 MB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.3764, allocations: 11.44 kB / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3764, allocations: 0 / 1.071 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of Templates: time 0.002712/0.3791, allocations: 0.7976 MB / 1.071 GB, free: 7.301 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)