Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 110.1 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 193.6 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.667/0.667, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 66.27 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.11, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001923/0.112, allocations: 1.257 MB / 0.634 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008795/0.1129, allocations: 0.6113 MB / 0.6346 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.1129, allocations: 0 / 0.6346 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.1129, allocations: 0 / 0.6346 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.596e-05/0.113, allocations: 11.92 kB / 0.6346 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.1134, allocations: 153.9 kB / 0.6347 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.249e-05/0.1135, allocations: 11.94 kB / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.1135, allocations: 11.98 kB / 0.6347 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.03e-05/0.1136, allocations: 4 kB / 0.6347 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.186e-05/0.1136, allocations: 7.938 kB / 0.6348 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1136, allocations: 0 / 0.6348 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1141, allocations: 343.3 kB / 0.6351 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.1141, allocations: 8 kB / 0.6351 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.1141, allocations: 15.91 kB / 0.6351 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.1143, allocations: 143.7 kB / 0.6352 GB, free: 1.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1144, allocations: 0 / 0.6352 GB, free: 1.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1144, allocations: 0 / 0.6352 GB, free: 1.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1144, allocations: 3.938 kB / 0.6352 GB, free: 1.836 MB / 478.1 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.0003552/0.1147, allocations: 359.4 kB / 0.6356 GB, free: 1.434 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1148, allocations: 8.031 kB / 0.6356 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.1148, allocations: 8.844 kB / 0.6356 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.192e-05/0.1149, allocations: 160.4 kB / 0.6358 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.1149, allocations: 384 / 0.6358 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1149, allocations: 12.38 kB / 0.6358 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.513e-05/0.115, allocations: 42.23 kB / 0.6358 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1151, allocations: 192 / 0.6358 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1151, allocations: 3.938 kB / 0.6358 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1151, allocations: 4 kB / 0.6358 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.1151, allocations: 7.984 kB / 0.6358 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.1153, allocations: 161.7 kB / 0.636 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1154, allocations: 46.56 kB / 0.636 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.1155, allocations: 16.86 kB / 0.636 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1155, allocations: 3.938 kB / 0.636 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.1155, allocations: 30.56 kB / 0.6361 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1155, allocations: 0 / 0.6361 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005401/0.1161, allocations: 314.2 kB / 0.6364 GB, free: 476 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.1161, allocations: 51.41 kB / 0.6364 GB, free: 412 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/0.1162, allocations: 109.8 kB / 0.6365 GB, free: 292 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1162, allocations: 25.7 kB / 0.6365 GB, free: 260 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.1162, allocations: 80.14 kB / 0.6366 GB, free: 176 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1163, allocations: 23.7 kB / 0.6366 GB, free: 152 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.1163, allocations: 17.72 kB / 0.6367 GB, free: 128 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1164, allocations: 314.8 kB / 0.637 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.1164, allocations: 12 kB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.1165, allocations: 12 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.097e-05/0.1165, allocations: 32.84 kB / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1165, allocations: 0 / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.926e-05/0.1166, allocations: 73.61 kB / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1166, allocations: 11.94 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1167, allocations: 3.984 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1167, allocations: 3.938 kB / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.1167, allocations: 8 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1167, allocations: 0 / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.1168, allocations: 4 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1168, allocations: 0 / 0.6371 GB, free: 15.64 MB / 494.1 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 6.293e-05/0.1168, allocations: 113.8 kB / 0.6372 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.1169, allocations: 7.938 kB / 0.6372 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.117, allocations: 81.73 kB / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.117, allocations: 0 / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.117, allocations: 0.5156 kB / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.1171, allocations: 85.09 kB / 0.6374 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.1171, allocations: 0 / 0.6374 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.1171, allocations: 4 kB / 0.6374 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1171, allocations: 8 kB / 0.6374 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001423/0.1173, allocations: 152.8 kB / 0.6376 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001808/0.1175, allocations: 254.7 kB / 0.6378 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.798e-05/0.1175, allocations: 12.03 kB / 0.6378 GB, free: 14.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.1176, allocations: 79.27 kB / 0.6379 GB, free: 14.79 MB / 494.1 MB Notification: Performance of Backend: time 2.1e-07/0.1176, allocations: 3.938 kB / 0.6379 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004559/0.118, allocations: 170.2 kB / 0.638 GB, free: 14.62 MB / 494.1 MB Notification: Performance of SimCode: time 0.000439/0.1185, allocations: 0.6214 MB / 0.6387 GB, free: 13.95 MB / 494.1 MB Notification: Performance of Templates: time 0.003043/0.1215, allocations: 1.244 MB / 0.6399 GB, free: 12.71 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)