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.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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6982/0.6982, allocations: 128.7 MB / 144.5 MB, free: 1.336 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.001141/0.001141, allocations: 193.4 kB / 174.2 MB, free: 5.922 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.379/1.379, allocations: 205 MB / 408.9 MB, free: 9.684 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.0009641/0.0009641, allocations: 104.3 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 53.5 kB / 0.558 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1103, allocations: 75.48 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002157/0.1125, allocations: 1.337 MB / 0.633 GB, free: 31.66 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008031/0.1133, allocations: 0.6196 MB / 0.6336 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.1134, allocations: 0 / 0.6336 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.1134, allocations: 3.938 kB / 0.6336 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.919e-05/0.1134, allocations: 11.91 kB / 0.6336 GB, free: 31.03 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.1138, allocations: 116.9 kB / 0.6337 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.679e-05/0.1139, allocations: 31.86 kB / 0.6338 GB, free: 30.88 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.1139, allocations: 0 / 0.6338 GB, free: 30.88 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.053e-05/0.1139, allocations: 23.97 kB / 0.6338 GB, free: 30.86 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.114, allocations: 15.92 kB / 0.6338 GB, free: 30.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.114, allocations: 0 / 0.6338 GB, free: 30.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.1144, allocations: 347.3 kB / 0.6341 GB, free: 30.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-06/0.1144, allocations: 0 / 0.6341 GB, free: 30.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.1144, allocations: 11.94 kB / 0.6341 GB, free: 30.49 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1146, allocations: 155.9 kB / 0.6343 GB, free: 30.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1146, allocations: 0 / 0.6343 GB, free: 30.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1146, allocations: 0 / 0.6343 GB, free: 30.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1146, allocations: 0 / 0.6343 GB, free: 30.34 MB / 442.7 MB 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.00026/0.1149, allocations: 371.5 kB / 0.6346 GB, free: 29.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1149, allocations: 8.031 kB / 0.6347 GB, free: 29.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.115, allocations: 12.78 kB / 0.6347 GB, free: 29.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.15e-05/0.115, allocations: 164.4 kB / 0.6348 GB, free: 29.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1151, allocations: 4.375 kB / 0.6348 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.1151, allocations: 384 / 0.6348 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.1155, allocations: 98.12 kB / 0.6349 GB, free: 29.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1155, allocations: 4.188 kB / 0.6349 GB, free: 29.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1156, allocations: 11.94 kB / 0.6349 GB, free: 29.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1156, allocations: 0 / 0.6349 GB, free: 29.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.1159, allocations: 63.92 kB / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.116, allocations: 161.7 kB / 0.6351 GB, free: 29.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.1164, allocations: 102.5 kB / 0.6352 GB, free: 29.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.1164, allocations: 32.78 kB / 0.6353 GB, free: 29.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.1166, allocations: 89.09 kB / 0.6354 GB, free: 29.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.1166, allocations: 34.56 kB / 0.6354 GB, free: 29.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1166, allocations: 0 / 0.6354 GB, free: 29.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.004674/0.1213, allocations: 1.203 MB / 0.6366 GB, free: 27.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.1214, allocations: 55.41 kB / 0.6366 GB, free: 27.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.84e-05/0.1214, allocations: 93.86 kB / 0.6367 GB, free: 27.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1214, allocations: 25.7 kB / 0.6367 GB, free: 27.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.413e-05/0.1214, allocations: 92.27 kB / 0.6368 GB, free: 27.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.1215, allocations: 35.45 kB / 0.6369 GB, free: 27.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.1215, allocations: 29.7 kB / 0.6369 GB, free: 27.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.648e-05/0.1216, allocations: 318.8 kB / 0.6372 GB, free: 27.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.1218, allocations: 59.95 kB / 0.6373 GB, free: 26.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.122, allocations: 63.95 kB / 0.6373 GB, free: 26.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/0.1225, allocations: 143 kB / 0.6374 GB, free: 26.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1225, allocations: 3.938 kB / 0.6375 GB, free: 26.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004908/0.123, allocations: 181.5 kB / 0.6376 GB, free: 26.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.123, allocations: 4 kB / 0.6376 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.123, allocations: 0 / 0.6376 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.123, allocations: 0 / 0.6376 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.1233, allocations: 55.95 kB / 0.6377 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1234, allocations: 0 / 0.6377 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.1236, allocations: 27.97 kB / 0.6377 GB, free: 26.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1236, allocations: 4 kB / 0.6377 GB, free: 26.5 MB / 442.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.1237, allocations: 117.8 kB / 0.6378 GB, free: 26.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.1237, allocations: 11.84 kB / 0.6378 GB, free: 26.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.1238, allocations: 15.97 kB / 0.6379 GB, free: 26.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1238, allocations: 4 kB / 0.6379 GB, free: 26.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1238, allocations: 0 / 0.6379 GB, free: 26.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1238, allocations: 0 / 0.6379 GB, free: 26.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007003/0.1245, allocations: 458.3 kB / 0.6383 GB, free: 25.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1245, allocations: 4 kB / 0.6383 GB, free: 25.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.1248, allocations: 47.89 kB / 0.6383 GB, free: 25.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1249, allocations: 4 kB / 0.6383 GB, free: 25.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1249, allocations: 3.984 kB / 0.6383 GB, free: 25.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1249, allocations: 0.7812 kB / 0.6383 GB, free: 25.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1249, allocations: 0 / 0.6383 GB, free: 25.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004194/0.1291, allocations: 1.655 MB / 0.64 GB, free: 24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.1291, allocations: 81.09 kB / 0.64 GB, free: 23.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1291, allocations: 4.031 kB / 0.64 GB, free: 23.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.1294, allocations: 32 kB / 0.6401 GB, free: 23.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.1295, allocations: 11.98 kB / 0.6401 GB, free: 23.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1295, allocations: 4 kB / 0.6401 GB, free: 23.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.749e-05/0.1295, allocations: 79.38 kB / 0.6402 GB, free: 23.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1295, allocations: 3.938 kB / 0.6402 GB, free: 23.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.1298, allocations: 24 kB / 0.6402 GB, free: 23.74 MB / 442.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.293e-05/0.1299, allocations: 113.7 kB / 0.6403 GB, free: 23.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004954/0.1304, allocations: 145.3 kB / 0.6404 GB, free: 23.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1304, allocations: 4 kB / 0.6404 GB, free: 23.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.1307, allocations: 75.88 kB / 0.6405 GB, free: 23.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.1309, allocations: 8 kB / 0.6405 GB, free: 23.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1322, allocations: 0.5945 MB / 0.6411 GB, free: 22.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.302e-05/0.1323, allocations: 0.6926 MB / 0.6418 GB, free: 22.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.1325, allocations: 19.98 kB / 0.6418 GB, free: 22.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.1325, allocations: 19.44 kB / 0.6418 GB, free: 22 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1325, allocations: 0 / 0.6418 GB, free: 22 MB / 442.7 MB Notification: Performance of Templates: time 0.002705/0.1352, allocations: 1.086 MB / 0.6429 GB, free: 20.95 MB / 442.7 MB 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)