Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 116.5 kB / 17.09 MB, free: 5.961 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.001155/0.001155, allocations: 193.5 kB / 18.03 MB, free: 5.043 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.2/1.2, 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.6521/0.6521, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 66.06 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1073, allocations: 76.19 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001966/0.1093, allocations: 1.261 MB / 0.634 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008706/0.1102, allocations: 0.6269 MB / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.1102, allocations: 0 / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.1102, allocations: 3.938 kB / 0.6346 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.014e-05/0.1103, allocations: 0 / 0.6346 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.1107, allocations: 149.7 kB / 0.6347 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.1108, allocations: 31.86 kB / 0.6348 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.1108, allocations: 8 kB / 0.6348 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.1109, allocations: 11.94 kB / 0.6348 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.1109, allocations: 15.97 kB / 0.6348 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1109, allocations: 4 kB / 0.6348 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.1114, allocations: 331.4 kB / 0.6351 GB, free: 1.957 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.1114, allocations: 15.86 kB / 0.6351 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.1114, allocations: 15.92 kB / 0.6352 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1116, allocations: 147.6 kB / 0.6353 GB, free: 1.781 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1117, allocations: 3.984 kB / 0.6353 GB, free: 1.777 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1117, allocations: 0 / 0.6353 GB, free: 1.777 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1117, allocations: 4 kB / 0.6353 GB, free: 1.773 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003585/0.112, allocations: 363.5 kB / 0.6356 GB, free: 1.367 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.1121, allocations: 8.031 kB / 0.6357 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1121, allocations: 12.83 kB / 0.6357 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.1122, allocations: 172.2 kB / 0.6358 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1122, allocations: 4.375 kB / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1123, allocations: 4.375 kB / 0.6358 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.588e-05/0.1124, allocations: 50.23 kB / 0.6359 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1124, allocations: 4.188 kB / 0.6359 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1124, allocations: 3.938 kB / 0.6359 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1124, allocations: 4 kB / 0.6359 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.1124, allocations: 15.98 kB / 0.6359 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.1126, allocations: 165.7 kB / 0.6361 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.066e-05/0.1127, allocations: 62.5 kB / 0.6361 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.1127, allocations: 28.84 kB / 0.6362 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1128, allocations: 4 kB / 0.6362 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.1128, allocations: 38.56 kB / 0.6362 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1128, allocations: 0 / 0.6362 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009572/0.1138, allocations: 0.5955 MB / 0.6368 GB, free: 0 / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.1138, allocations: 55.45 kB / 0.6368 GB, free: 15.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.1139, allocations: 97.86 kB / 0.6369 GB, free: 15.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1139, allocations: 25.7 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.1139, allocations: 80.14 kB / 0.637 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.114, allocations: 43.39 kB / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.114, allocations: 29.7 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.1141, allocations: 314.8 kB / 0.6374 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.1141, allocations: 28.11 kB / 0.6374 GB, free: 15.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.1142, allocations: 16 kB / 0.6374 GB, free: 15.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/0.1143, allocations: 60.78 kB / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1143, allocations: 0 / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001345/0.1144, allocations: 104.7 kB / 0.6376 GB, free: 15.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.1144, allocations: 8 kB / 0.6376 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1144, allocations: 0 / 0.6376 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.1144, allocations: 0 / 0.6376 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.1145, allocations: 27.92 kB / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1146, allocations: 0 / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.1146, allocations: 0 / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1146, allocations: 8 kB / 0.6376 GB, free: 15.06 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 (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 6.069e-05/0.1147, allocations: 110.5 kB / 0.6377 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.1147, allocations: 11.92 kB / 0.6378 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.1149, allocations: 101.6 kB / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1149, allocations: 4 kB / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1149, allocations: 0 / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.1149, allocations: 84.95 kB / 0.6379 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1149, allocations: 3.984 kB / 0.6379 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.577e-05/0.115, allocations: 16 kB / 0.638 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.115, allocations: 8 kB / 0.638 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002015/0.1152, allocations: 176.9 kB / 0.6381 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002416/0.1155, allocations: 302.8 kB / 0.6384 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.316e-05/0.1155, allocations: 24.02 kB / 0.6384 GB, free: 14.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.815e-05/0.1156, allocations: 91.33 kB / 0.6385 GB, free: 14.08 MB / 494.1 MB Notification: Performance of Backend: time 2.11e-07/0.1156, allocations: 0 / 0.6385 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.116, allocations: 170.3 kB / 0.6387 GB, free: 13.91 MB / 494.1 MB Notification: Performance of SimCode: time 0.0005016/0.1165, allocations: 0.6973 MB / 0.6394 GB, free: 13.17 MB / 494.1 MB Notification: Performance of Templates: time 0.003314/0.1199, allocations: 1.537 MB / 0.6409 GB, free: 11.67 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)