Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 110.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.89 kB / 1.103 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8542/0.8561, allocations: 163.8 MB / 1.263 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002119/0.8583, allocations: 1.29 MB / 1.264 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008794/0.8592, allocations: 0.6138 MB / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.8592, allocations: 0 / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.8592, allocations: 0 / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.8593, allocations: 5.359 kB / 1.264 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.8598, allocations: 158.8 kB / 1.265 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.588e-05/0.8599, allocations: 25.09 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.8599, allocations: 2.906 kB / 1.265 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.8599, allocations: 11.86 kB / 1.265 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.547e-05/0.86, allocations: 16.38 kB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.86, allocations: 1.625 kB / 1.265 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.8605, allocations: 345.2 kB / 1.265 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.8606, allocations: 6.859 kB / 1.265 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.8606, allocations: 22.44 kB / 1.265 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.8609, allocations: 150.8 kB / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8609, allocations: 1.5 kB / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8609, allocations: 0 / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.8609, allocations: 0 / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003735/0.8613, allocations: 366 kB / 1.266 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.8613, allocations: 9.469 kB / 1.266 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.8614, allocations: 8.25 kB / 1.266 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.8614, allocations: 165.9 kB / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.8615, allocations: 6.531 kB / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.8615, allocations: 7.594 kB / 1.266 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.8616, allocations: 50.47 kB / 1.266 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.8616, allocations: 0.8438 kB / 1.266 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.8617, allocations: 8.656 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8617, allocations: 0.75 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.8617, allocations: 23.06 kB / 1.266 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.8619, allocations: 163 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.862, allocations: 61.16 kB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.8621, allocations: 28.5 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.8621, allocations: 1.359 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.8621, allocations: 43.62 kB / 1.266 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.8621, allocations: 1.219 kB / 1.266 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.00107/0.8632, allocations: 0.5864 MB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.8632, allocations: 54.3 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.8633, allocations: 98.39 kB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.8633, allocations: 25.7 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.546e-05/0.8633, allocations: 85.39 kB / 1.267 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.8634, allocations: 39.84 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.8634, allocations: 32.56 kB / 1.267 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.8634, allocations: 314 kB / 1.267 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.8635, allocations: 22.78 kB / 1.267 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.15e-05/0.8635, allocations: 24.16 kB / 1.267 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.893e-05/0.8636, allocations: 54.78 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.8636, allocations: 3.938 kB / 1.267 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001399/0.8638, allocations: 100.4 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8638, allocations: 5.344 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.8638, allocations: 0.8438 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.8638, allocations: 5.328 kB / 1.267 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.8639, allocations: 20.45 kB / 1.267 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.864, allocations: 0.9375 kB / 1.267 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.864, allocations: 0.9062 kB / 1.267 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.864, allocations: 3.156 kB / 1.267 GB, free: 4.215 MB / 0.9981 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 5.534e-05/0.8641, allocations: 117.2 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.8641, allocations: 15.53 kB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.8643, allocations: 100.8 kB / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8643, allocations: 9.859 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8643, allocations: 0 / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.8643, allocations: 2.047 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.8647, allocations: 355.7 kB / 1.268 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.8647, allocations: 0.9062 kB / 1.268 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.8648, allocations: 23.59 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8648, allocations: 1.453 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.8648, allocations: 1.469 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8648, allocations: 1.531 kB / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.8648, allocations: 0 / 1.268 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.8651, allocations: 226.8 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.8651, allocations: 83.2 kB / 1.268 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.8651, allocations: 6.641 kB / 1.268 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.8652, allocations: 5.844 kB / 1.268 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.8652, allocations: 6.844 kB / 1.268 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.8652, allocations: 3.234 kB / 1.268 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.859e-05/0.8653, allocations: 81.25 kB / 1.268 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8653, allocations: 0.7188 kB / 1.268 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002668/0.8655, allocations: 37.52 kB / 1.269 GB, free: 3.301 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002046/0.8658, allocations: 133 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.8659, allocations: 69.5 kB / 1.269 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8659, allocations: 0.8438 kB / 1.269 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-05/0.866, allocations: 44.27 kB / 1.269 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.8662, allocations: 3.516 kB / 1.269 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.8667, allocations: 310.5 kB / 1.269 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.8668, allocations: 0.6851 MB / 1.27 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.8669, allocations: 14.58 kB / 1.27 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/0.8669, allocations: 0 / 1.27 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of Templates: time 0.003379/0.8703, allocations: 1.135 MB / 1.271 GB, free: 2.09 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 10.747547833016142] Failed to read output from testmodel.py, exit status != 0: 0.8769570791628212 0.8881514269999999 0.024823475 Calling exit ...