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.001327/0.001327, allocations: 117 kB / 17.09 MB, free: 5.969 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.001249/0.00125, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7372/0.7372, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 66.73 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.141, allocations: 76.17 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002547/0.1436, allocations: 1.274 MB / 0.634 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1447, allocations: 0.623 MB / 0.6346 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.1448, allocations: 4 kB / 0.6346 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.1448, allocations: 0 / 0.6346 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.1449, allocations: 3.938 kB / 0.6346 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.1455, allocations: 139.4 kB / 0.6347 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.1456, allocations: 31.91 kB / 0.6348 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.1457, allocations: 4 kB / 0.6348 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.1457, allocations: 15.94 kB / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.1458, allocations: 15.97 kB / 0.6348 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1458, allocations: 0 / 0.6348 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005186/0.1463, allocations: 343.3 kB / 0.6351 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.1463, allocations: 11.92 kB / 0.6351 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.1464, allocations: 15.92 kB / 0.6351 GB, free: 1.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.1467, allocations: 151.6 kB / 0.6353 GB, free: 1.762 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1467, allocations: 0 / 0.6353 GB, free: 1.762 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1467, allocations: 0 / 0.6353 GB, free: 1.762 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1467, allocations: 0 / 0.6353 GB, free: 1.762 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.0004333/0.1471, allocations: 367.5 kB / 0.6356 GB, free: 1.352 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1472, allocations: 8.031 kB / 0.6356 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1472, allocations: 12.84 kB / 0.6357 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1473, allocations: 168.3 kB / 0.6358 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1473, allocations: 4.359 kB / 0.6358 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1474, allocations: 8.375 kB / 0.6358 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.1475, allocations: 50.19 kB / 0.6359 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1475, allocations: 192 / 0.6359 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1475, allocations: 3.938 kB / 0.6359 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1475, allocations: 0 / 0.6359 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.35e-05/0.1476, allocations: 19.98 kB / 0.6359 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.1478, allocations: 165.7 kB / 0.6361 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1479, allocations: 58.55 kB / 0.6361 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.148, allocations: 28.86 kB / 0.6361 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.148, allocations: 3.984 kB / 0.6361 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.148, allocations: 38.5 kB / 0.6362 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.148, allocations: 0 / 0.6362 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001183/0.1492, allocations: 0.5991 MB / 0.6368 GB, free: 15.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1493, allocations: 55.41 kB / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.1493, allocations: 93.86 kB / 0.6369 GB, free: 15.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1494, allocations: 29.7 kB / 0.6369 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.1494, allocations: 84.27 kB / 0.637 GB, free: 15.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.1495, allocations: 39.45 kB / 0.6371 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1495, allocations: 25.72 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1496, allocations: 314.8 kB / 0.6374 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.1497, allocations: 23.98 kB / 0.6374 GB, free: 15.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.1497, allocations: 22.75 kB / 0.6374 GB, free: 15.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.1498, allocations: 60.78 kB / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1498, allocations: 0 / 0.6375 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001498/0.15, allocations: 101.5 kB / 0.6376 GB, free: 15.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.15, allocations: 13.09 kB / 0.6376 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.15, allocations: 0 / 0.6376 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.15, allocations: 0 / 0.6376 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1501, allocations: 23.98 kB / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1501, allocations: 4 kB / 0.6376 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.1502, allocations: 0 / 0.6376 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1502, allocations: 0 / 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 7.526e-05/0.1503, allocations: 117.8 kB / 0.6377 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.1503, allocations: 7.938 kB / 0.6377 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.1505, allocations: 109.9 kB / 0.6378 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1505, allocations: 4 kB / 0.6378 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1505, allocations: 0 / 0.6378 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1505, allocations: 3.938 kB / 0.6379 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.1509, allocations: 354.5 kB / 0.6382 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1509, allocations: 0 / 0.6382 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.151, allocations: 23.98 kB / 0.6382 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.151, allocations: 0 / 0.6382 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1511, allocations: 4 kB / 0.6382 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1511, allocations: 8 kB / 0.6382 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1511, allocations: 0 / 0.6382 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.1513, allocations: 227.5 kB / 0.6384 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1514, allocations: 89.03 kB / 0.6385 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1514, allocations: 0 / 0.6385 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.1515, allocations: 0 / 0.6385 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.1515, allocations: 11.98 kB / 0.6385 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.1515, allocations: 4 kB / 0.6385 GB, free: 14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.794e-05/0.1516, allocations: 79.34 kB / 0.6386 GB, free: 13.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1516, allocations: 96 / 0.6386 GB, free: 13.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1519, allocations: 43.88 kB / 0.6387 GB, free: 13.88 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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 0.0002137/0.1521, allocations: 131.2 kB / 0.6388 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1523, allocations: 74.8 kB / 0.6389 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1523, allocations: 0 / 0.6389 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.88e-05/0.1523, allocations: 35.92 kB / 0.6389 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.1526, allocations: 8.094 kB / 0.6389 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/0.1531, allocations: 301.3 kB / 0.6392 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1534, allocations: 0.6923 MB / 0.6399 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.1535, allocations: 11.44 kB / 0.6399 GB, free: 12.58 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1535, allocations: 0 / 0.6399 GB, free: 12.58 MB / 494.1 MB Notification: Performance of Templates: time 0.00295/0.1564, allocations: 1.124 MB / 0.641 GB, free: 11.46 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)