Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 109.2 kB / 17.09 MB, free: 5.828 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.001796/0.001796, allocations: 194.7 kB / 18.02 MB, free: 4.961 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6668/0.6668, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.28 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1126, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001986/0.1147, allocations: 1.262 MB / 0.634 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008747/0.1155, allocations: 0.6152 MB / 0.6346 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.1156, allocations: 0 / 0.6346 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.1156, allocations: 3.938 kB / 0.6346 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.724e-05/0.1156, allocations: 0 / 0.6346 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.1161, allocations: 155.3 kB / 0.6347 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.916e-05/0.1162, allocations: 11.94 kB / 0.6347 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.1162, allocations: 15.97 kB / 0.6348 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.1163, allocations: 4 kB / 0.6348 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.1163, allocations: 7.938 kB / 0.6348 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.1163, allocations: 0 / 0.6348 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.1168, allocations: 343.3 kB / 0.6351 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.1168, allocations: 8 kB / 0.6351 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.1168, allocations: 11.92 kB / 0.6351 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.117, allocations: 147.6 kB / 0.6353 GB, free: 1.848 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1171, allocations: 4 kB / 0.6353 GB, free: 1.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1171, allocations: 0 / 0.6353 GB, free: 1.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1171, allocations: 0 / 0.6353 GB, free: 1.844 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.0003482/0.1174, allocations: 359.4 kB / 0.6356 GB, free: 1.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.1175, allocations: 8.031 kB / 0.6356 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.1175, allocations: 8.844 kB / 0.6356 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.303e-05/0.1176, allocations: 160.4 kB / 0.6358 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1176, allocations: 384 / 0.6358 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1176, allocations: 12.36 kB / 0.6358 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.319e-05/0.1177, allocations: 42.25 kB / 0.6358 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1177, allocations: 4.188 kB / 0.6358 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1178, allocations: 3.938 kB / 0.6358 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.1178, allocations: 0 / 0.6358 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.366e-05/0.1178, allocations: 11.92 kB / 0.6358 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.118, allocations: 161.7 kB / 0.636 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1181, allocations: 42.5 kB / 0.636 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.1181, allocations: 24.8 kB / 0.6361 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1182, allocations: 0 / 0.6361 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1182, allocations: 30.56 kB / 0.6361 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1182, allocations: 0 / 0.6361 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005182/0.1187, allocations: 322.2 kB / 0.6364 GB, free: 472 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.1187, allocations: 51.41 kB / 0.6364 GB, free: 408 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.172e-05/0.1188, allocations: 93.86 kB / 0.6365 GB, free: 304 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1188, allocations: 33.7 kB / 0.6366 GB, free: 264 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.481e-05/0.1189, allocations: 80.14 kB / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.1189, allocations: 23.7 kB / 0.6367 GB, free: 156 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.1189, allocations: 17.72 kB / 0.6367 GB, free: 132 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.119, allocations: 310.8 kB / 0.637 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/0.1191, allocations: 15.98 kB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.1191, allocations: 8 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.1191, allocations: 32.86 kB / 0.637 GB, free: 15.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1192, allocations: 4.062 kB / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.989e-05/0.1192, allocations: 73.52 kB / 0.6371 GB, free: 15.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1193, allocations: 11.94 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1193, allocations: 0 / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.1193, allocations: 0 / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.917e-05/0.1193, allocations: 15.98 kB / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1194, allocations: 4 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.1194, allocations: 0 / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.1194, 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.783e-05/0.1195, allocations: 117.8 kB / 0.6372 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.1195, allocations: 3.938 kB / 0.6373 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1196, allocations: 78.03 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1196, allocations: 0 / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1196, allocations: 4 kB / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.1197, allocations: 81.09 kB / 0.6374 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.1197, allocations: 0 / 0.6374 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.1198, allocations: 11.98 kB / 0.6374 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.1198, allocations: 0 / 0.6374 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001361/0.1199, allocations: 144.9 kB / 0.6376 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001818/0.1201, allocations: 258.7 kB / 0.6378 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.647e-05/0.1201, allocations: 15.97 kB / 0.6378 GB, free: 14.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.33e-05/0.1202, allocations: 79.27 kB / 0.6379 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Backend: time 2.1e-07/0.1202, allocations: 4 kB / 0.6379 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.1206, allocations: 158.3 kB / 0.638 GB, free: 14.64 MB / 494.1 MB Notification: Performance of SimCode: time 0.0004378/0.1211, allocations: 0.6398 MB / 0.6387 GB, free: 13.95 MB / 494.1 MB Notification: Performance of Templates: time 0.003097/0.1242, allocations: 1.244 MB / 0.6399 GB, free: 12.74 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)