Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4919/0.4919, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008733, allocations: 105.1 kB / 416 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.653e-05, allocations: 6.5 kB / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 72.33 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4232/0.5587, allocations: 101.5 MB / 0.6527 GB, free: 8.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5589, allocations: 75.7 kB / 0.6527 GB, free: 8.688 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008108/0.5671, allocations: 2.859 MB / 0.6555 GB, free: 6.297 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5671, allocations: 3.938 kB / 0.6555 GB, free: 6.293 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.5671, allocations: 4 kB / 0.6555 GB, free: 6.289 MB / 458.7 MB 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.0003075/0.5674, allocations: 338.3 kB / 0.6559 GB, free: 5.918 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.5675, allocations: 16.03 kB / 0.6559 GB, free: 5.902 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.5675, allocations: 3.906 kB / 0.6559 GB, free: 5.898 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.5676, allocations: 163.1 kB / 0.656 GB, free: 5.699 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5677, allocations: 7.938 kB / 0.656 GB, free: 5.691 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.5677, allocations: 0 / 0.656 GB, free: 5.691 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.158e-05/0.5678, allocations: 8 kB / 0.6561 GB, free: 5.684 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.527e-05/0.5678, allocations: 37.31 kB / 0.6561 GB, free: 5.645 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5679, allocations: 3.938 kB / 0.6561 GB, free: 5.641 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5679, allocations: 3.953 kB / 0.6561 GB, free: 5.637 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.5679, allocations: 0 / 0.6561 GB, free: 5.637 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.568, allocations: 133.6 kB / 0.6562 GB, free: 5.473 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.5682, allocations: 41.36 kB / 0.6563 GB, free: 5.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.5682, allocations: 15.67 kB / 0.6563 GB, free: 5.414 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.5683, allocations: 0 / 0.6563 GB, free: 5.414 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.5683, allocations: 38.64 kB / 0.6563 GB, free: 5.367 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.5683, allocations: 0 / 0.6563 GB, free: 5.367 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004797/0.5688, allocations: 280.7 kB / 0.6566 GB, free: 5.055 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.5688, allocations: 54.09 kB / 0.6566 GB, free: 4.992 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.441e-05/0.5689, allocations: 96.94 kB / 0.6567 GB, free: 4.891 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.5689, allocations: 25.7 kB / 0.6568 GB, free: 4.859 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.5689, allocations: 80.14 kB / 0.6568 GB, free: 4.777 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.569, allocations: 23.02 kB / 0.6569 GB, free: 4.758 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.569, allocations: 3.938 kB / 0.6569 GB, free: 4.754 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5691, allocations: 317.2 kB / 0.6572 GB, free: 4.438 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.5691, allocations: 11.19 kB / 0.6572 GB, free: 4.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.5692, allocations: 7.938 kB / 0.6572 GB, free: 4.426 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.5692, allocations: 19.67 kB / 0.6572 GB, free: 4.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.5692, allocations: 0 / 0.6572 GB, free: 4.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.11e-05/0.5693, allocations: 57.44 kB / 0.6573 GB, free: 4.355 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.5693, allocations: 4 kB / 0.6573 GB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5693, allocations: 0 / 0.6573 GB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5693, allocations: 7.984 kB / 0.6573 GB, free: 4.344 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.5694, allocations: 8 kB / 0.6573 GB, free: 4.336 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5694, allocations: 4 kB / 0.6573 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.5694, allocations: 0 / 0.6573 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.5694, allocations: 7.953 kB / 0.6573 GB, free: 4.324 MB / 458.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.5695, allocations: 101 kB / 0.6574 GB, free: 4.219 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.5695, allocations: 3.906 kB / 0.6574 GB, free: 4.215 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.5697, allocations: 71.77 kB / 0.6575 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5697, allocations: 4 kB / 0.6575 GB, free: 4.148 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5697, allocations: 3.938 kB / 0.6575 GB, free: 4.145 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5697, allocations: 4.875 kB / 0.6575 GB, free: 4.141 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.57, allocations: 284.6 kB / 0.6577 GB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.57, allocations: 0 / 0.6577 GB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.5701, allocations: 12.19 kB / 0.6577 GB, free: 3.816 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5701, allocations: 0 / 0.6577 GB, free: 3.816 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.5701, allocations: 7.984 kB / 0.6578 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.5701, allocations: 4 kB / 0.6578 GB, free: 3.805 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5701, allocations: 0 / 0.6578 GB, free: 3.805 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.5703, allocations: 186.8 kB / 0.6579 GB, free: 3.609 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.5703, allocations: 84.48 kB / 0.658 GB, free: 3.512 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.5703, allocations: 8.016 kB / 0.658 GB, free: 3.504 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.5704, allocations: 0 / 0.658 GB, free: 3.504 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.5704, allocations: 3.953 kB / 0.658 GB, free: 3.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.5705, allocations: 4 kB / 0.658 GB, free: 3.496 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.5705, allocations: 83.34 kB / 0.6581 GB, free: 3.414 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5705, allocations: 0 / 0.6581 GB, free: 3.414 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.5707, allocations: 35.86 kB / 0.6581 GB, free: 3.379 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001697/0.5709, allocations: 121.5 kB / 0.6583 GB, free: 3.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.3e-05/0.571, allocations: 33.86 kB / 0.6583 GB, free: 3.223 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.571, allocations: 0 / 0.6583 GB, free: 3.223 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.571, allocations: 15.38 kB / 0.6583 GB, free: 3.211 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.5712, allocations: 0 / 0.6583 GB, free: 3.211 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.5715, allocations: 143.5 kB / 0.6584 GB, free: 3.051 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.5718, allocations: 0.6807 MB / 0.6591 GB, free: 2.344 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.686e-05/0.5718, allocations: 8.844 kB / 0.6591 GB, free: 2.336 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.5718, allocations: 11.44 kB / 0.6591 GB, free: 2.324 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5719, allocations: 7.938 kB / 0.6591 GB, free: 2.316 MB / 458.7 MB Notification: Performance of Templates: time 0.002526/0.5744, allocations: 0.5812 MB / 0.6597 GB, free: 1.781 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)