Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7625/0.7625, allocations: 127.4 MB / 134.9 MB, free: 3.461 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009985/0.0009986, allocations: 190.8 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.2 MB / 399.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008133/0.0008136, allocations: 101.6 kB / 476.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.666e-05, allocations: 5.156 kB / 0.5466 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1685, allocations: 76.76 MB / 0.6215 GB, free: 43.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1756/0.3441, allocations: 102.6 MB / 0.7217 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.3444, allocations: 83.94 kB / 0.7218 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008487/0.3529, allocations: 2.999 MB / 0.7247 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.356e-06/0.353, allocations: 4 kB / 0.7247 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.353, allocations: 0 / 0.7247 GB, free: 1.367 MB / 0.4948 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.0003458/0.3533, allocations: 338.4 kB / 0.725 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.3534, allocations: 16.03 kB / 0.725 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.3534, allocations: 3.953 kB / 0.725 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3536, allocations: 178.9 kB / 0.7252 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3536, allocations: 0 / 0.7252 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3536, allocations: 0 / 0.7252 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.823e-05/0.3537, allocations: 8 kB / 0.7252 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.518e-05/0.3538, allocations: 37.69 kB / 0.7253 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3538, allocations: 0 / 0.7253 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3539, allocations: 3.953 kB / 0.7253 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3539, allocations: 0 / 0.7253 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.354, allocations: 142.2 kB / 0.7254 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.3542, allocations: 38.61 kB / 0.7254 GB, free: 492 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.3543, allocations: 16.8 kB / 0.7254 GB, free: 472 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.3545, allocations: 93.19 kB / 0.7255 GB, free: 360 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3545, allocations: 38.56 kB / 0.7256 GB, free: 312 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3545, allocations: 0 / 0.7256 GB, free: 312 kB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.001065/0.3556, allocations: 346.1 kB / 0.7259 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.3557, allocations: 51.41 kB / 0.726 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.3557, allocations: 93 kB / 0.726 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3558, allocations: 29.7 kB / 0.7261 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.3558, allocations: 80.14 kB / 0.7261 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3559, allocations: 19.75 kB / 0.7262 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.3559, allocations: 0 / 0.7262 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.356, allocations: 318.8 kB / 0.7265 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.356, allocations: 12 kB / 0.7265 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.3561, allocations: 23.98 kB / 0.7265 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.3561, allocations: 15.98 kB / 0.7265 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.3561, allocations: 0 / 0.7265 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001192/0.3562, allocations: 69.59 kB / 0.7266 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3563, allocations: 4 kB / 0.7266 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3563, allocations: 0 / 0.7266 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3563, allocations: 0 / 0.7266 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.3564, allocations: 27.91 kB / 0.7266 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3565, allocations: 0 / 0.7266 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.3566, allocations: 8 kB / 0.7266 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3566, allocations: 0 / 0.7266 GB, free: 15.13 MB / 0.5105 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 () * 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 7.804e-05/0.3567, allocations: 120.9 kB / 0.7267 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.3567, allocations: 3.984 kB / 0.7267 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.3567, allocations: 8.719 kB / 0.7268 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3567, allocations: 4 kB / 0.7268 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3567, allocations: 0 / 0.7268 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3568, allocations: 0 / 0.7268 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.3572, allocations: 319.9 kB / 0.7271 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3572, allocations: 8.031 kB / 0.7271 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3574, allocations: 15.98 kB / 0.7271 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3574, allocations: 4 kB / 0.7271 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3574, allocations: 0 / 0.7271 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3574, allocations: 3.984 kB / 0.7271 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3574, allocations: 0 / 0.7271 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.3577, allocations: 213.9 kB / 0.7273 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.3577, allocations: 81.14 kB / 0.7274 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3577, allocations: 0 / 0.7274 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3579, allocations: 11.98 kB / 0.7274 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.3579, allocations: 7.938 kB / 0.7274 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3579, allocations: 4 kB / 0.7274 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.358, allocations: 79.28 kB / 0.7275 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.358, allocations: 64 / 0.7275 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002208/0.3582, allocations: 20 kB / 0.7275 GB, free: 14.15 MB / 0.5105 GB 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.0001463/0.3584, allocations: 103.2 kB / 0.7276 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.3585, allocations: 39.92 kB / 0.7276 GB, free: 14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3585, allocations: 0 / 0.7276 GB, free: 14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.3586, allocations: 23.98 kB / 0.7277 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.3587, allocations: 1.953 kB / 0.7277 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.3592, allocations: 181.2 kB / 0.7278 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.3595, allocations: 0.6923 MB / 0.7285 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.736e-05/0.3596, allocations: 8 kB / 0.7285 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.3596, allocations: 7.438 kB / 0.7285 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.3596, allocations: 0 / 0.7285 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.002763/0.3624, allocations: 0.6293 MB / 0.7291 GB, free: 12.45 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)