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.001632/0.001632, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.0017/0.0017, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.693/2.693, allocations: 437.1 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 67.67 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.344, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002407/0.3464, allocations: 1.273 MB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3474, allocations: 0.6164 MB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.3475, allocations: 4 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.3475, allocations: 3.984 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.3476, allocations: 3.938 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.3481, allocations: 146.8 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.3482, allocations: 15.94 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.3483, allocations: 7.984 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.3483, allocations: 15.94 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.3484, allocations: 4 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3484, allocations: 3.938 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005351/0.3489, allocations: 343.3 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.3489, allocations: 3.984 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.349, allocations: 15.94 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.3492, allocations: 140 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3492, allocations: 0 / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3492, allocations: 0 / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3493, allocations: 0 / 1.021 GB, free: 8.012 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.0004564/0.3497, allocations: 371.3 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3498, allocations: 12.62 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.3498, allocations: 0.9375 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3499, allocations: 164.3 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.35, allocations: 4.375 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.35, allocations: 384 / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.3501, allocations: 46.19 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3501, allocations: 192 / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3501, allocations: 7.922 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3501, allocations: 0 / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.217e-05/0.3502, allocations: 19.98 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.3504, allocations: 153.7 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3506, allocations: 42.56 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.3506, allocations: 16.86 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.3506, allocations: 7.875 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.3507, allocations: 42.64 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3507, allocations: 0 / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0006468/0.3513, allocations: 314.2 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.3514, allocations: 51.41 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.3515, allocations: 93.86 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3515, allocations: 33.69 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.3515, allocations: 80.14 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3516, allocations: 15.72 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.3516, allocations: 21.72 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3517, allocations: 322.8 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.3518, allocations: 11.98 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.3518, allocations: 8 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/0.3519, allocations: 40.78 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3519, allocations: 0 / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001005/0.352, allocations: 61.69 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.352, allocations: 7.938 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.352, allocations: 0 / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.352, allocations: 7.938 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.3521, allocations: 16 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3521, allocations: 0 / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.3521, allocations: 0 / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3522, allocations: 0 / 1.022 GB, free: 5.805 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.707e-05/0.3522, allocations: 117.8 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.3523, allocations: 11.83 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.3524, allocations: 69.66 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3524, allocations: 4 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3524, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3524, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.3528, allocations: 315.3 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3528, allocations: 0 / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.3529, allocations: 12 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3529, allocations: 0.5156 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3529, allocations: 0 / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3529, allocations: 4 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3529, allocations: 4.219 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.3531, allocations: 188.2 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.3532, allocations: 89.05 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3532, allocations: 0 / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.3533, allocations: 7.969 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.3533, allocations: 7.938 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3533, allocations: 4.062 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.3534, allocations: 83.28 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3534, allocations: 0 / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000265/0.3537, allocations: 27.92 kB / 1.023 GB, free: 4.766 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.0001968/0.3539, allocations: 115.2 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.354, allocations: 39.92 kB / 1.023 GB, free: 4.602 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.354, allocations: 0 / 1.023 GB, free: 4.602 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.354, allocations: 19.94 kB / 1.023 GB, free: 4.582 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.3543, allocations: 12 kB / 1.023 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.3547, allocations: 217.8 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.355, allocations: 0.6807 MB / 1.024 GB, free: 3.617 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.3551, allocations: 15.38 kB / 1.024 GB, free: 3.602 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3551, allocations: 0 / 1.024 GB, free: 3.602 MB / 0.795 GB Notification: Performance of Templates: time 0.002531/0.3576, allocations: 0.7987 MB / 1.025 GB, free: 2.809 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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)