Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.6409/0.6409, allocations: 117.9 MB / 133.9 MB, free: 4.523 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.001143/0.001144, allocations: 182.4 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 394.8 MB, free: 20.93 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.00083/0.0008299, allocations: 93.2 kB / 470.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.000434, allocations: 16 kB / 0.5423 GB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3117, allocations: 74.54 MB / 0.6151 GB, free: 54.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.4275, allocations: 102.5 MB / 0.7152 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.4277, allocations: 79.95 kB / 0.7153 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01369/0.4414, allocations: 4.885 MB / 0.72 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4415, allocations: 0 / 0.72 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4415, allocations: 4 kB / 0.7201 GB, free: 10.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003728/0.4419, allocations: 351.4 kB / 0.7204 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4419, allocations: 12.03 kB / 0.7204 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.4419, allocations: 0.9375 kB / 0.7204 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.4421, allocations: 180.2 kB / 0.7206 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.4421, allocations: 4.375 kB / 0.7206 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.4421, allocations: 4.375 kB / 0.7206 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.4426, allocations: 94.19 kB / 0.7207 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4426, allocations: 192 / 0.7207 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.4426, allocations: 11.94 kB / 0.7207 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4426, allocations: 0 / 0.7207 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.4429, allocations: 59.94 kB / 0.7207 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.4431, allocations: 169.6 kB / 0.7209 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.4435, allocations: 118.5 kB / 0.721 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.4436, allocations: 28.8 kB / 0.721 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.4438, allocations: 101.1 kB / 0.7211 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.4438, allocations: 34.56 kB / 0.7212 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.4438, allocations: 0 / 0.7212 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.004904/0.4487, allocations: 1.286 MB / 0.7224 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4488, allocations: 55.39 kB / 0.7225 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.4489, allocations: 93.86 kB / 0.7226 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.4489, allocations: 29.7 kB / 0.7226 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.4489, allocations: 88.42 kB / 0.7227 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.449, allocations: 39.44 kB / 0.7227 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.449, allocations: 4 kB / 0.7227 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.4491, allocations: 310.8 kB / 0.723 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.4494, allocations: 79.88 kB / 0.7231 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.4496, allocations: 63.95 kB / 0.7232 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.45, allocations: 155.5 kB / 0.7233 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4501, allocations: 4 kB / 0.7233 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005221/0.4506, allocations: 201.4 kB / 0.7235 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4506, allocations: 4 kB / 0.7235 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4506, allocations: 0 / 0.7235 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4506, allocations: 4 kB / 0.7235 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.451, allocations: 51.89 kB / 0.7236 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.451, allocations: 8 kB / 0.7236 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.4512, allocations: 27.97 kB / 0.7236 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.4512, allocations: 7.984 kB / 0.7236 GB, free: 6.559 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 0.0001039/0.4513, allocations: 117.8 kB / 0.7237 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.4514, allocations: 3.938 kB / 0.7237 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.4514, allocations: 11.97 kB / 0.7237 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4515, allocations: 4 kB / 0.7237 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4515, allocations: 0 / 0.7237 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4515, allocations: 4.031 kB / 0.7237 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.4524, allocations: 474.3 kB / 0.7242 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4524, allocations: 3.984 kB / 0.7242 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.4527, allocations: 51.95 kB / 0.7242 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4527, allocations: 3.984 kB / 0.7242 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.4527, allocations: 8 kB / 0.7242 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4528, allocations: 0 / 0.7242 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4528, allocations: 0 / 0.7242 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008374/0.4536, allocations: 379.2 kB / 0.7246 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.4537, allocations: 81.02 kB / 0.7247 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.4537, allocations: 3.984 kB / 0.7247 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.454, allocations: 36.06 kB / 0.7247 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.454, allocations: 8 kB / 0.7247 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.454, allocations: 3.984 kB / 0.7247 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.956e-05/0.4541, allocations: 79.28 kB / 0.7248 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4541, allocations: 0 / 0.7248 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002551/0.4543, allocations: 28 kB / 0.7248 GB, free: 5.184 MB / 0.4948 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 (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.0001561/0.4545, allocations: 111 kB / 0.7249 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.455, allocations: 171.8 kB / 0.7251 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.455, allocations: 0 / 0.7251 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.4553, allocations: 83.88 kB / 0.7252 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.4555, allocations: 8 kB / 0.7252 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.457, allocations: 0.512 MB / 0.7257 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.4572, allocations: 0.6887 MB / 0.7264 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.4574, allocations: 16 kB / 0.7264 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.4574, allocations: 23.3 kB / 0.7264 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.4575, allocations: 0 / 0.7264 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of Templates: time 0.002986/0.4604, allocations: 0.9877 MB / 0.7274 GB, free: 2.559 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)