Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001528/0.001528, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001553/0.001553, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.46/1.46, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437.1 MB / 0.7107 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 0.8694 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6641, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002621/0.6667, allocations: 1.343 MB / 1.019 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.6678, allocations: 0.5995 MB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.6678, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.6678, allocations: 0 / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.6679, allocations: 7.922 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.6685, allocations: 135.6 kB / 1.02 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.494e-05/0.6685, allocations: 19.92 kB / 1.02 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.6686, allocations: 0 / 1.02 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.6686, allocations: 11.94 kB / 1.02 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.6686, allocations: 11.97 kB / 1.02 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.6687, allocations: 0 / 1.02 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.6692, allocations: 347.3 kB / 1.02 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.6692, allocations: 3.938 kB / 1.02 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.6692, allocations: 15.92 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.6694, allocations: 97.94 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6694, allocations: 0 / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6694, allocations: 0 / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.6694, allocations: 0 / 1.02 GB, free: 232 kB / 0.7637 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.0004806/0.6699, allocations: 359.4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.67, allocations: 8.031 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.67, allocations: 8.922 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.6701, allocations: 172.3 kB / 1.021 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.6702, allocations: 384 / 1.021 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.6702, allocations: 8.281 kB / 1.021 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.6703, allocations: 42.19 kB / 1.021 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6703, allocations: 4.188 kB / 1.021 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.6703, allocations: 3.938 kB / 1.021 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.6703, allocations: 0 / 1.021 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.6704, allocations: 11.94 kB / 1.021 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.6706, allocations: 157.7 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.6708, allocations: 46.55 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.6708, allocations: 20.94 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.6708, allocations: 0 / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.6709, allocations: 38.56 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.6709, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006486/0.6715, allocations: 310.5 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.6716, allocations: 55.39 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.6717, allocations: 105.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.6717, allocations: 25.7 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.6717, allocations: 80.14 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.6718, allocations: 27.64 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.6718, allocations: 17.72 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.672, allocations: 314.8 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/0.672, allocations: 15.98 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.672, allocations: 12 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.6721, allocations: 32.8 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.6721, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.825e-05/0.6722, allocations: 65.67 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6722, allocations: 11.94 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6722, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.6723, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.6723, allocations: 11.98 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6723, allocations: 8 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.6724, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.6724, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 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 0.0001085/0.6725, allocations: 117.8 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.6725, allocations: 7.844 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.6726, allocations: 69.64 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6727, allocations: 4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.6727, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6727, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.673, allocations: 319.3 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.673, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.6731, allocations: 19.98 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6731, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.6731, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6731, allocations: 192 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.6731, allocations: 8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.6733, allocations: 180.3 kB / 1.023 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.6734, allocations: 89.03 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.6734, allocations: 0 / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.6735, allocations: 0 / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.6735, allocations: 11.98 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.6735, allocations: 3.938 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.6736, allocations: 79.28 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6736, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002398/0.6738, allocations: 24.06 kB / 1.023 GB, free: 12.99 MB / 0.7794 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.0002034/0.674, allocations: 123.7 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.6742, allocations: 40.16 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6742, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.6742, allocations: 19.92 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.6745, allocations: 10.19 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.6749, allocations: 222.5 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.6753, allocations: 0.6846 MB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.6753, allocations: 11.44 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6753, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.002528/0.6778, allocations: 0.8105 MB / 1.025 GB, free: 11.01 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)