Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 105 kB / 16.41 MB, free: 6.465 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.001547/0.001547, allocations: 187 kB / 17.34 MB, free: 5.719 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7305, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002631/0.7332, allocations: 1.471 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.7343, allocations: 0.6383 MB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.7344, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.7344, allocations: 7.875 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.7345, allocations: 3.938 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.7352, allocations: 163.4 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.7354, allocations: 55.84 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.7354, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.59e-05/0.7355, allocations: 27.91 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.7356, allocations: 31.84 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.7356, allocations: 4 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000556/0.7361, allocations: 347.3 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.7362, allocations: 8 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.7362, allocations: 31.84 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.7365, allocations: 173.2 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7366, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7366, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.7366, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005916/0.7372, allocations: 399.3 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.7372, allocations: 8.031 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.7373, allocations: 8.844 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.7374, allocations: 168.3 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.7374, allocations: 4.359 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.7375, allocations: 12.38 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.7377, allocations: 78.22 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7377, allocations: 192 / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.7378, allocations: 3.938 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7378, allocations: 3.938 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.738, allocations: 55.95 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.7386, allocations: 324.6 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.7389, allocations: 78.47 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.739, allocations: 28.84 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.739, allocations: 7.984 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.7391, allocations: 30.56 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.7391, allocations: 4 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.00169/0.7408, allocations: 0.6501 MB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.7408, allocations: 55.34 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.7409, allocations: 105.8 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.7409, allocations: 29.7 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.741, allocations: 91.98 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.741, allocations: 39.44 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.7411, allocations: 29.7 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.7412, allocations: 318.8 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.7413, allocations: 35.91 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.7414, allocations: 39.47 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.7417, allocations: 68.84 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7417, allocations: 3.984 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003216/0.7421, allocations: 113.6 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7421, allocations: 8 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7421, allocations: 4 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.7421, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.7423, allocations: 31.92 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.7423, allocations: 96 / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.7424, allocations: 11.88 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.7424, allocations: 11.98 kB / 1.214 GB, free: 7.551 MB / 0.9356 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 (13): * Single equations (assignments): 13 * 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.894e-05/0.7425, allocations: 113.8 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.7425, allocations: 0 / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.7429, allocations: 137.5 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.7429, allocations: 0 / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7429, allocations: 0 / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.743, allocations: 7.922 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.7435, allocations: 374.5 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7435, allocations: 0 / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.7437, allocations: 27.92 kB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.7437, allocations: 7.984 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.7438, allocations: 15.88 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7438, allocations: 0 / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7438, allocations: 0 / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.7443, allocations: 239.5 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.7443, allocations: 85.05 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.7444, allocations: 12 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.7445, allocations: 7.984 kB / 1.215 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.7445, allocations: 4 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.7445, allocations: 8 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.7446, allocations: 83.45 kB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7446, allocations: 0 / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003021/0.7449, allocations: 35.94 kB / 1.215 GB, free: 6.301 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002229/0.7451, allocations: 143.2 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.7455, allocations: 83.95 kB / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7455, allocations: 0 / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.7456, allocations: 47.91 kB / 1.215 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.746, allocations: 11.98 kB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.7466, allocations: 339.8 kB / 1.216 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.7469, allocations: 0.6962 MB / 1.216 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.7469, allocations: 19.44 kB / 1.216 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.747, allocations: 0 / 1.216 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of Templates: time 0.003058/0.75, allocations: 1.322 MB / 1.218 GB, free: 3.598 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)