Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 112.8 kB / 17.09 MB, free: 5.992 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.001222/0.001222, allocations: 194.9 kB / 18.03 MB, free: 5.066 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.221/1.221, 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.6677/0.6677, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 62.38 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, 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_m_flow_DerivativeCheck2): time 0.002277/0.1154, allocations: 1.447 MB / 0.6342 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.1163, allocations: 0.6305 MB / 0.6348 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.1163, allocations: 3.938 kB / 0.6348 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.1164, allocations: 11.92 kB / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.161e-05/0.1164, allocations: 7.938 kB / 0.6348 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.1169, allocations: 155.4 kB / 0.6349 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.117, allocations: 51.78 kB / 0.635 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.1171, allocations: 4 kB / 0.635 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.1171, allocations: 27.91 kB / 0.635 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.1172, allocations: 23.92 kB / 0.635 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1172, allocations: 8 kB / 0.6351 GB, free: 2.016 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000495/0.1177, allocations: 347.3 kB / 0.6354 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1177, allocations: 15.92 kB / 0.6354 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.1178, allocations: 31.84 kB / 0.6354 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.118, allocations: 175.5 kB / 0.6356 GB, free: 1.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.118, allocations: 4 kB / 0.6356 GB, free: 1.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.118, allocations: 0 / 0.6356 GB, free: 1.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1181, allocations: 0 / 0.6356 GB, free: 1.453 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005302/0.1186, allocations: 399.3 kB / 0.636 GB, free: 1.012 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1186, allocations: 8.031 kB / 0.636 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.1187, allocations: 8.844 kB / 0.636 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.045e-05/0.1188, allocations: 164.4 kB / 0.6362 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1188, allocations: 8.375 kB / 0.6362 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.1188, allocations: 4.375 kB / 0.6362 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.119, allocations: 78.2 kB / 0.6362 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1191, allocations: 192 / 0.6362 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1191, allocations: 15.88 kB / 0.6363 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1191, allocations: 0 / 0.6363 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.1193, allocations: 51.95 kB / 0.6363 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.1198, allocations: 316.6 kB / 0.6366 GB, free: 284 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.1201, allocations: 90.47 kB / 0.6367 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1202, allocations: 24.84 kB / 0.6367 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1203, allocations: 0 / 0.6367 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1203, allocations: 34.56 kB / 0.6368 GB, free: 112 kB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1203, allocations: 0 / 0.6368 GB, free: 112 kB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001514/0.1218, allocations: 0.6502 MB / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.1218, allocations: 55.41 kB / 0.6374 GB, free: 15.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.198e-05/0.1219, allocations: 97.84 kB / 0.6375 GB, free: 15.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1219, allocations: 29.7 kB / 0.6376 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.122, allocations: 96.05 kB / 0.6377 GB, free: 15.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.122, allocations: 47.3 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.1221, allocations: 29.7 kB / 0.6377 GB, free: 14.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1222, allocations: 318.8 kB / 0.638 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1223, allocations: 39.91 kB / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1224, allocations: 33.73 kB / 0.6381 GB, free: 14.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.1227, allocations: 80.89 kB / 0.6382 GB, free: 14.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1227, allocations: 0 / 0.6382 GB, free: 14.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003043/0.123, allocations: 116.1 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.123, allocations: 7.984 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.123, allocations: 0 / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.123, allocations: 4 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1232, allocations: 27.92 kB / 0.6383 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1232, allocations: 0 / 0.6383 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.1233, allocations: 15.94 kB / 0.6383 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1233, allocations: 0 / 0.6383 GB, free: 14.34 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 7.267e-05/0.1234, allocations: 117.8 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1234, allocations: 4 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.1238, allocations: 125.6 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1238, allocations: 4 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.1238, allocations: 3.984 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.1238, allocations: 92.97 kB / 0.6387 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1238, allocations: 4 kB / 0.6387 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.124, allocations: 8 kB / 0.6387 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.124, allocations: 3.984 kB / 0.6387 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004316/0.1244, allocations: 201.1 kB / 0.6389 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005043/0.1249, allocations: 334.5 kB / 0.6392 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001527/0.1251, allocations: 44 kB / 0.6392 GB, free: 13.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.1251, allocations: 75.28 kB / 0.6393 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Backend: time 3.71e-07/0.1252, allocations: 4 kB / 0.6393 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005815/0.1257, allocations: 196.8 kB / 0.6395 GB, free: 13.08 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006584/0.1264, allocations: 0.7246 MB / 0.6402 GB, free: 12.3 MB / 494.1 MB Notification: Performance of Templates: time 0.003882/0.1303, allocations: 1.763 MB / 0.6419 GB, free: 10.58 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)