Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [/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.7169/0.7169, allocations: 117.9 MB / 133.9 MB, free: 4.516 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.0009921/0.0009924, allocations: 184.8 kB / 161.7 MB, free: 2.742 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.512/1.512, allocations: 205.4 MB / 394.8 MB, free: 21.17 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.0007719/0.0007719, allocations: 92.78 kB / 470.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 12 kB / 0.5423 GB, free: 7.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3355, allocations: 74.53 MB / 0.6151 GB, free: 54.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.4495, allocations: 102.3 MB / 0.715 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4498, allocations: 83.94 kB / 0.7151 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01207/0.4619, allocations: 4.347 MB / 0.7194 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4619, allocations: 0 / 0.7194 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.4619, allocations: 0 / 0.7194 GB, free: 11.25 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.0003381/0.4623, allocations: 343.5 kB / 0.7197 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4623, allocations: 12.03 kB / 0.7197 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.4624, allocations: 8.844 kB / 0.7197 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.4625, allocations: 164.3 kB / 0.7199 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.4625, allocations: 384 / 0.7199 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.4626, allocations: 12.31 kB / 0.7199 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.463, allocations: 90.19 kB / 0.72 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.463, allocations: 192 / 0.72 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.463, allocations: 7.938 kB / 0.72 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.463, allocations: 0 / 0.72 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.4633, allocations: 59.88 kB / 0.72 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.4635, allocations: 157.7 kB / 0.7202 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.464, allocations: 94.53 kB / 0.7203 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.464, allocations: 16.86 kB / 0.7203 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.4642, allocations: 97.19 kB / 0.7204 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.4643, allocations: 34.55 kB / 0.7204 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4643, allocations: 0 / 0.7204 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.002197/0.4665, allocations: 0.6073 MB / 0.721 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4665, allocations: 55.41 kB / 0.7211 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.4666, allocations: 93.86 kB / 0.7212 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.4666, allocations: 29.7 kB / 0.7212 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.4667, allocations: 83.89 kB / 0.7213 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.4667, allocations: 19.64 kB / 0.7213 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.4667, allocations: 8 kB / 0.7213 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.4669, allocations: 310.8 kB / 0.7216 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.467, allocations: 43.97 kB / 0.7216 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.4672, allocations: 43.94 kB / 0.7217 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.4675, allocations: 96.95 kB / 0.7218 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4675, allocations: 0 / 0.7218 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003646/0.4679, allocations: 133.5 kB / 0.7219 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4679, allocations: 7.938 kB / 0.7219 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4679, allocations: 0 / 0.7219 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4679, allocations: 4 kB / 0.7219 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4681, allocations: 31.97 kB / 0.7219 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4681, allocations: 0 / 0.7219 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.4682, allocations: 19.98 kB / 0.722 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.4683, allocations: 64 / 0.722 GB, free: 8.32 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 (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 8.44e-05/0.4683, allocations: 117.8 kB / 0.7221 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.4684, allocations: 11.94 kB / 0.7221 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.4684, allocations: 11.97 kB / 0.7221 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4684, allocations: 0 / 0.7221 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4684, allocations: 3.938 kB / 0.7221 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4684, allocations: 0 / 0.7221 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007215/0.4692, allocations: 407.2 kB / 0.7225 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4692, allocations: 0 / 0.7225 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.4694, allocations: 27.97 kB / 0.7225 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.4694, allocations: 8.031 kB / 0.7225 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4694, allocations: 0 / 0.7225 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4694, allocations: 0 / 0.7225 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4694, allocations: 3.938 kB / 0.7225 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.47, allocations: 276.2 kB / 0.7228 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.4701, allocations: 85.19 kB / 0.7229 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.4701, allocations: 4 kB / 0.7229 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.4702, allocations: 15.98 kB / 0.7229 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.4703, allocations: 8.5 kB / 0.7229 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.4703, allocations: 8 kB / 0.7229 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.4704, allocations: 79.27 kB / 0.723 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4704, allocations: 0 / 0.723 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002419/0.4706, allocations: 16 kB / 0.723 GB, free: 7.152 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001571/0.4708, allocations: 119.1 kB / 0.7231 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.4711, allocations: 95.91 kB / 0.7232 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4711, allocations: 0 / 0.7232 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.4713, allocations: 51.91 kB / 0.7232 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.4715, allocations: 8.781 kB / 0.7233 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008187/0.4723, allocations: 325.7 kB / 0.7236 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.4726, allocations: 0.6809 MB / 0.7242 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.827e-05/0.4727, allocations: 8 kB / 0.7242 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.4728, allocations: 7.438 kB / 0.7242 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.4728, allocations: 0 / 0.7242 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of Templates: time 0.002646/0.4754, allocations: 0.7496 MB / 0.725 GB, free: 5.086 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)