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.001296/0.001296, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001233/0.001233, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.567/2.567, allocations: 437.1 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 72.2 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3387, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002966/0.3418, allocations: 1.261 MB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3429, allocations: 0.6164 MB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.3429, allocations: 0 / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.343, allocations: 3.984 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.343, allocations: 3.938 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.3436, allocations: 152.6 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.689e-05/0.3437, allocations: 15.94 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.3437, allocations: 7.984 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.3438, allocations: 7.938 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.3438, allocations: 4 kB / 1.02 GB, free: 8.531 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.3438, allocations: 3.938 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.3444, allocations: 343.3 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.3444, allocations: 7.984 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.3444, allocations: 15.94 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3447, allocations: 144 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3447, allocations: 0 / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3447, allocations: 0 / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3447, allocations: 0 / 1.02 GB, free: 8.027 MB / 0.795 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.0004655/0.3452, allocations: 369.2 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3453, allocations: 8.922 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.3453, allocations: 4.938 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3454, allocations: 164.3 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3455, allocations: 384 / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.3455, allocations: 12.38 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.3456, allocations: 38.25 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3456, allocations: 192 / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3456, allocations: 3.938 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3457, allocations: 4 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.3457, allocations: 11.92 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.3459, allocations: 153.7 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3461, allocations: 50.56 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.3461, allocations: 16.86 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3461, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3462, allocations: 34.64 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.3462, allocations: 0 / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0006594/0.3468, allocations: 322.4 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3469, allocations: 55.41 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.347, allocations: 101.9 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.347, allocations: 25.7 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.3471, allocations: 84.12 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.3471, allocations: 23.7 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.3471, allocations: 21.66 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3473, allocations: 314.8 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.3473, allocations: 12 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.3474, allocations: 8 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.703e-05/0.3474, allocations: 36.84 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3474, allocations: 0 / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001035/0.3476, allocations: 69.62 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3476, allocations: 7.938 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3476, allocations: 0 / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3476, allocations: 7.938 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.3477, allocations: 8 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3477, allocations: 0 / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.3477, allocations: 0 / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3477, allocations: 4 kB / 1.022 GB, free: 5.824 MB / 0.795 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.109e-05/0.3478, allocations: 116.2 kB / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3478, allocations: 15.83 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.348, allocations: 69.83 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.348, allocations: 0 / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.348, allocations: 0 / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.348, allocations: 4 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.3483, allocations: 319.3 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3484, allocations: 4.031 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.3484, allocations: 8 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.3484, allocations: 4 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3485, allocations: 4.188 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3485, allocations: 4 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3485, allocations: 0 / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.3487, allocations: 188.2 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.3487, allocations: 85.08 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3488, allocations: 4.031 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.3488, allocations: 3.984 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.3489, allocations: 4 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3489, allocations: 4 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.3489, allocations: 79.28 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3489, allocations: 0 / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002347/0.3492, allocations: 23.92 kB / 1.023 GB, free: 4.793 MB / 0.795 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.0002014/0.3494, allocations: 127.2 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.3495, allocations: 35.92 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3495, allocations: 0 / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.528e-05/0.3495, allocations: 12 kB / 1.023 GB, free: 4.609 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.3497, allocations: 14.25 kB / 1.023 GB, free: 4.598 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.3502, allocations: 230.2 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3505, allocations: 0.6768 MB / 1.024 GB, free: 3.637 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.3506, allocations: 15.38 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.3506, allocations: 0 / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of Templates: time 0.002596/0.3532, allocations: 0.7878 MB / 1.025 GB, free: 2.836 MB / 0.795 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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)