Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6722/0.6722, allocations: 117.9 MB / 133.9 MB, free: 9.211 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.0009759/0.0009756, allocations: 184.5 kB / 161.7 MB, free: 13.97 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.442/1.442, allocations: 205.4 MB / 394.8 MB, free: 10.11 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.0007142/0.0007142, allocations: 91.39 kB / 470.1 MB, free: 28.98 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 12 kB / 0.5423 GB, free: 9.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 74.54 MB / 0.6151 GB, free: 15.13 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.5614, allocations: 103.1 MB / 0.7159 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5618, allocations: 87.42 kB / 0.7159 GB, free: 30.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01279/0.5746, allocations: 4.602 MB / 0.7204 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5746, allocations: 0 / 0.7204 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.5746, allocations: 4 kB / 0.7204 GB, free: 27.75 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000413/0.5751, allocations: 377.9 kB / 0.7208 GB, free: 27.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5751, allocations: 12.55 kB / 0.7208 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.5752, allocations: 9.469 kB / 0.7208 GB, free: 27.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.984e-05/0.5753, allocations: 169.5 kB / 0.721 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.5753, allocations: 8.766 kB / 0.721 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.5753, allocations: 8.312 kB / 0.721 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.5758, allocations: 109.5 kB / 0.7211 GB, free: 27.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5758, allocations: 192 / 0.7211 GB, free: 27.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5758, allocations: 11.88 kB / 0.7211 GB, free: 27.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5758, allocations: 0 / 0.7211 GB, free: 27.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.5762, allocations: 87.2 kB / 0.7212 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.5767, allocations: 331.5 kB / 0.7215 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.5772, allocations: 125.2 kB / 0.7216 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.5773, allocations: 29.28 kB / 0.7217 GB, free: 26.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.5775, allocations: 102.1 kB / 0.7218 GB, free: 26.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.5775, allocations: 34.19 kB / 0.7218 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.5775, allocations: 0 / 0.7218 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.004205/0.5817, allocations: 1.075 MB / 0.7228 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.5818, allocations: 51.41 kB / 0.7229 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.5819, allocations: 102.4 kB / 0.723 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.5819, allocations: 29.7 kB / 0.723 GB, free: 25.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.5819, allocations: 90 kB / 0.7231 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.582, allocations: 38.98 kB / 0.7231 GB, free: 25.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.582, allocations: 3.938 kB / 0.7231 GB, free: 25.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.582, allocations: 325.3 kB / 0.7235 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.5822, allocations: 59.12 kB / 0.7235 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.5825, allocations: 71.03 kB / 0.7236 GB, free: 24.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.5829, allocations: 136.7 kB / 0.7237 GB, free: 24.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5829, allocations: 0 / 0.7237 GB, free: 24.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000458/0.5833, allocations: 179.8 kB / 0.7239 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5834, allocations: 4.75 kB / 0.7239 GB, free: 24.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5834, allocations: 1.031 kB / 0.7239 GB, free: 24.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5834, allocations: 4 kB / 0.7239 GB, free: 24.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.5837, allocations: 45.41 kB / 0.7239 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5837, allocations: 4.312 kB / 0.7239 GB, free: 24.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.5839, allocations: 25.75 kB / 0.724 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.5839, allocations: 4.297 kB / 0.724 GB, free: 24.45 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/0.584, allocations: 122.1 kB / 0.7241 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.5841, allocations: 4.75 kB / 0.7241 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.5841, allocations: 11.59 kB / 0.7241 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5841, allocations: 8 kB / 0.7241 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5841, allocations: 0 / 0.7241 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5842, allocations: 4.828 kB / 0.7241 GB, free: 24.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007317/0.5849, allocations: 461.8 kB / 0.7246 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5849, allocations: 0.8438 kB / 0.7246 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/0.5852, allocations: 45.55 kB / 0.7246 GB, free: 23.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5852, allocations: 0.6562 kB / 0.7246 GB, free: 23.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.5852, allocations: 12.75 kB / 0.7246 GB, free: 23.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5852, allocations: 0 / 0.7246 GB, free: 23.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5853, allocations: 7.984 kB / 0.7246 GB, free: 23.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.586, allocations: 348.4 kB / 0.725 GB, free: 23.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.586, allocations: 85.73 kB / 0.725 GB, free: 23.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.5861, allocations: 4.594 kB / 0.725 GB, free: 23.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.5863, allocations: 29.19 kB / 0.7251 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.5864, allocations: 3 kB / 0.7251 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.5864, allocations: 9.953 kB / 0.7251 GB, free: 23.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.033e-05/0.5864, allocations: 84.44 kB / 0.7252 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5864, allocations: 0 / 0.7252 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002519/0.5867, allocations: 31.55 kB / 0.7252 GB, free: 23.33 MB / 0.4948 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 (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.000151/0.5868, allocations: 100.9 kB / 0.7253 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.5873, allocations: 155.1 kB / 0.7254 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5873, allocations: 3.938 kB / 0.7254 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.5876, allocations: 82.36 kB / 0.7255 GB, free: 23.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.5879, allocations: 15.67 kB / 0.7255 GB, free: 23.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.5891, allocations: 494.2 kB / 0.726 GB, free: 22.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.5893, allocations: 0.6919 MB / 0.7267 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.5894, allocations: 18.55 kB / 0.7267 GB, free: 21.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.5895, allocations: 17.42 kB / 0.7267 GB, free: 21.91 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.5895, allocations: 3.938 kB / 0.7267 GB, free: 21.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.003624/0.5931, allocations: 1.008 MB / 0.7277 GB, free: 21.37 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)