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.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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.729/0.729, allocations: 128.7 MB / 144.5 MB, free: 1.371 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.001164/0.001164, allocations: 184.5 kB / 174.3 MB, free: 5.93 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.381/1.381, allocations: 205 MB / 408.9 MB, free: 9.73 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.0009538/0.0009537, allocations: 106 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 63.59 kB / 0.558 GB, free: 97.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1172, allocations: 75.47 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002099/0.1194, allocations: 1.328 MB / 0.633 GB, free: 31.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007391/0.1201, allocations: 0.6157 MB / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.49e-05/0.1201, allocations: 0 / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.1202, allocations: 4 kB / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.1202, allocations: 0 / 0.6336 GB, free: 31.06 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.1206, allocations: 115.6 kB / 0.6337 GB, free: 30.95 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.353e-05/0.1206, allocations: 27.8 kB / 0.6337 GB, free: 30.92 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.1207, allocations: 0 / 0.6337 GB, free: 30.92 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.787e-05/0.1207, allocations: 11.92 kB / 0.6337 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.1207, allocations: 11.98 kB / 0.6338 GB, free: 30.89 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1208, allocations: 4 kB / 0.6338 GB, free: 30.89 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.1211, allocations: 347.3 kB / 0.6341 GB, free: 30.55 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1211, allocations: 3.984 kB / 0.6341 GB, free: 30.55 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.1212, allocations: 7.938 kB / 0.6341 GB, free: 30.54 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1214, allocations: 140 kB / 0.6342 GB, free: 30.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1214, allocations: 0 / 0.6342 GB, free: 30.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1214, allocations: 0 / 0.6342 GB, free: 30.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1214, allocations: 0 / 0.6342 GB, free: 30.4 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000375/0.1218, allocations: 363.4 kB / 0.6346 GB, free: 30 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1218, allocations: 8.031 kB / 0.6346 GB, free: 29.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.1219, allocations: 16.77 kB / 0.6346 GB, free: 29.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.942e-05/0.1219, allocations: 164.4 kB / 0.6348 GB, free: 29.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.122, allocations: 384 / 0.6348 GB, free: 29.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.122, allocations: 4.375 kB / 0.6348 GB, free: 29.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.1224, allocations: 86.19 kB / 0.6348 GB, free: 29.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1224, allocations: 192 / 0.6348 GB, free: 29.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.1225, allocations: 3.938 kB / 0.6349 GB, free: 29.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1225, allocations: 4 kB / 0.6349 GB, free: 29.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.1228, allocations: 59.94 kB / 0.6349 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.1229, allocations: 153.7 kB / 0.6351 GB, free: 29.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.1234, allocations: 90.48 kB / 0.6351 GB, free: 29.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.1234, allocations: 20.86 kB / 0.6352 GB, free: 29.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.1236, allocations: 93.17 kB / 0.6353 GB, free: 29.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.1236, allocations: 34.56 kB / 0.6353 GB, free: 29.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1236, allocations: 0 / 0.6353 GB, free: 29.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.001994/0.1256, allocations: 0.5647 MB / 0.6358 GB, free: 28.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.1256, allocations: 55.39 kB / 0.6359 GB, free: 28.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/0.1257, allocations: 97.86 kB / 0.636 GB, free: 28.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.1257, allocations: 25.7 kB / 0.636 GB, free: 28.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/0.1257, allocations: 84.14 kB / 0.6361 GB, free: 28.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1258, allocations: 27.64 kB / 0.6361 GB, free: 28.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1258, allocations: 25.66 kB / 0.6361 GB, free: 28.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.1259, allocations: 314.8 kB / 0.6364 GB, free: 27.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.126, allocations: 39.97 kB / 0.6365 GB, free: 27.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1262, allocations: 35.97 kB / 0.6365 GB, free: 27.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.1265, allocations: 80.95 kB / 0.6366 GB, free: 27.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1265, allocations: 4 kB / 0.6366 GB, free: 27.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003321/0.1268, allocations: 117.6 kB / 0.6367 GB, free: 27.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1268, allocations: 13.28 kB / 0.6367 GB, free: 27.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1269, allocations: 0 / 0.6367 GB, free: 27.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1269, allocations: 0 / 0.6367 GB, free: 27.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.127, allocations: 35.84 kB / 0.6368 GB, free: 27.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.127, allocations: 0 / 0.6368 GB, free: 27.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1272, allocations: 15.98 kB / 0.6368 GB, free: 27.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1272, allocations: 4 kB / 0.6368 GB, free: 27.51 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 (7): * Single equations (assignments): 7 * 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 4.707e-05/0.1272, allocations: 109.8 kB / 0.6369 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.1273, allocations: 19.83 kB / 0.6369 GB, free: 27.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.1273, allocations: 3.969 kB / 0.6369 GB, free: 27.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1273, allocations: 0 / 0.6369 GB, free: 27.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1273, allocations: 0 / 0.6369 GB, free: 27.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1273, allocations: 4 kB / 0.6369 GB, free: 27.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.1279, allocations: 395.2 kB / 0.6373 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1279, allocations: 0 / 0.6373 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.1281, allocations: 27.97 kB / 0.6373 GB, free: 26.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1281, allocations: 0 / 0.6373 GB, free: 26.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1281, allocations: 0 / 0.6373 GB, free: 26.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1281, allocations: 8.125 kB / 0.6373 GB, free: 26.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1281, allocations: 0 / 0.6373 GB, free: 26.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.1304, allocations: 1.301 MB / 0.6386 GB, free: 25.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.1304, allocations: 85.12 kB / 0.6387 GB, free: 25.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1305, allocations: 3.984 kB / 0.6387 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1306, allocations: 20.08 kB / 0.6387 GB, free: 25.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.1307, allocations: 3.938 kB / 0.6387 GB, free: 25.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.1307, allocations: 4.234 kB / 0.6387 GB, free: 25.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.313e-05/0.1307, allocations: 95.19 kB / 0.6388 GB, free: 25.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1307, allocations: 0 / 0.6388 GB, free: 25.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.131, allocations: 12 kB / 0.6388 GB, free: 25.21 MB / 442.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.116e-05/0.1311, allocations: 95.25 kB / 0.6389 GB, free: 25.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.1314, allocations: 91.92 kB / 0.639 GB, free: 25.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1315, allocations: 0 / 0.639 GB, free: 25.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.1316, allocations: 43.91 kB / 0.639 GB, free: 24.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.1318, allocations: 10.84 kB / 0.639 GB, free: 24.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.1326, allocations: 400.7 kB / 0.6394 GB, free: 24.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.8e-05/0.1327, allocations: 0.6848 MB / 0.6401 GB, free: 23.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.53e-05/0.1328, allocations: 11.98 kB / 0.6401 GB, free: 23.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.1328, allocations: 7.438 kB / 0.6401 GB, free: 23.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1328, allocations: 4 kB / 0.6401 GB, free: 23.8 MB / 442.7 MB Notification: Performance of Templates: time 0.0023/0.1351, allocations: 0.7996 MB / 0.6409 GB, free: 23.03 MB / 442.7 MB 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)