Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_10_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_10_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.001311/0.001311, 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.001287/0.001287, 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.441/1.441, allocations: 222.9 MB / 240.6 MB, free: 4.52 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.702/2.702, allocations: 437.1 MB / 0.7107 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 0.8694 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7609, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002855/0.7638, allocations: 1.347 MB / 1.019 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.7649, allocations: 0.6033 MB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.7649, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.765, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.765, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.7656, allocations: 131.6 kB / 1.02 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.7657, allocations: 23.84 kB / 1.02 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.798e-05/0.7658, allocations: 4 kB / 1.02 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.65e-05/0.7658, allocations: 7.938 kB / 1.02 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.7658, allocations: 4 kB / 1.02 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.7659, allocations: 0 / 1.02 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.7664, allocations: 351.3 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.7664, allocations: 11.94 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.7665, allocations: 4 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.7667, allocations: 105.7 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7667, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7667, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7667, allocations: 0 / 1.02 GB, free: 76 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.0004974/0.7672, allocations: 363.4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.7672, allocations: 8.031 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.7673, allocations: 4.938 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.7674, allocations: 172.3 kB / 1.021 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.7674, allocations: 384 / 1.021 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.7675, allocations: 8.281 kB / 1.021 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.7676, allocations: 42.25 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7676, allocations: 192 / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.7676, allocations: 3.938 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.7676, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.7677, allocations: 11.94 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.7679, allocations: 157.7 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.7681, allocations: 46.61 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.7681, allocations: 16.94 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.7682, allocations: 4 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.7682, allocations: 30.56 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.7682, allocations: 0 / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006663/0.7689, allocations: 310.5 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.7689, allocations: 51.41 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.769, allocations: 105.9 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.7691, allocations: 29.64 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.7691, allocations: 80.14 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.7691, allocations: 27.64 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.7692, allocations: 21.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7693, allocations: 318.8 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.7694, allocations: 8 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.7694, allocations: 15.98 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.076e-05/0.7695, allocations: 32.86 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.7695, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001053/0.7696, allocations: 65.62 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7696, allocations: 7.938 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7696, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.7696, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.197e-05/0.7697, allocations: 8 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.7697, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.7697, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.7697, allocations: 11.92 kB / 1.022 GB, free: 13.87 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 8.557e-05/0.7698, allocations: 110.4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.7698, allocations: 7.844 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.77, allocations: 81.88 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.77, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.77, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.77, allocations: 3.984 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.7704, allocations: 319.3 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7704, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.7705, allocations: 12 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7705, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.7705, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7705, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7705, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.7707, allocations: 184.3 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.7708, allocations: 89.03 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.7708, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.7709, allocations: 4 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.7709, allocations: 4 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.7709, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.771, allocations: 87.2 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.771, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002492/0.7713, allocations: 24 kB / 1.023 GB, free: 12.84 MB / 0.7794 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.0001926/0.7715, allocations: 123.2 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.7716, allocations: 39.92 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7716, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.7716, allocations: 16 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.7718, allocations: 3.938 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.7723, allocations: 238.6 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.7726, allocations: 0.6807 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.7726, allocations: 15.44 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.7726, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.002631/0.7753, allocations: 0.7883 MB / 1.025 GB, free: 10.88 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)