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.0009937/0.0009938, allocations: 110.6 kB / 16.41 MB, free: 6.484 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.001056/0.001057, allocations: 195.1 kB / 17.34 MB, free: 5.762 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.257/1.257, allocations: 222.9 MB / 241 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.6814/0.6814, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 65.81 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1326, allocations: 76.18 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002284/0.1349, allocations: 1.272 MB / 0.6333 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.1358, allocations: 0.623 MB / 0.6339 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.1359, allocations: 0 / 0.6339 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.1359, allocations: 0 / 0.6339 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.1359, allocations: 7.922 kB / 0.6339 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.1365, allocations: 143.4 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.1366, allocations: 31.91 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.1366, allocations: 4 kB / 0.6341 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.1367, allocations: 19.92 kB / 0.6341 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.1367, allocations: 8 kB / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1367, allocations: 0 / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.1372, allocations: 343.3 kB / 0.6345 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.1372, allocations: 11.92 kB / 0.6345 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.1372, allocations: 11.94 kB / 0.6345 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.1375, allocations: 159.5 kB / 0.6346 GB, free: 1.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1375, allocations: 4 kB / 0.6346 GB, free: 1.746 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1375, allocations: 0 / 0.6346 GB, free: 1.746 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1375, allocations: 0 / 0.6346 GB, free: 1.746 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.0004048/0.1379, allocations: 367.5 kB / 0.635 GB, free: 1.336 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.138, allocations: 8.031 kB / 0.635 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.138, allocations: 8.844 kB / 0.635 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1381, allocations: 164.3 kB / 0.6352 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.1381, allocations: 384 / 0.6352 GB, free: 1.121 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1382, allocations: 8.375 kB / 0.6352 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1383, allocations: 58.17 kB / 0.6352 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1383, allocations: 192 / 0.6352 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1383, allocations: 3.938 kB / 0.6352 GB, free: 1.047 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1384, allocations: 3.938 kB / 0.6352 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.1384, allocations: 19.98 kB / 0.6352 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1386, allocations: 165.7 kB / 0.6354 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1387, allocations: 54.56 kB / 0.6355 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.1387, allocations: 36.84 kB / 0.6355 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1388, allocations: 0 / 0.6355 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1388, allocations: 38.5 kB / 0.6355 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1388, allocations: 0 / 0.6355 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001038/0.1398, allocations: 0.5914 MB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1399, allocations: 55.41 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/0.14, allocations: 93.86 kB / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.14, allocations: 29.7 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.14, allocations: 88.12 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.1401, allocations: 31.47 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.1401, allocations: 29.7 kB / 0.6364 GB, free: 15.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1402, allocations: 315 kB / 0.6367 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.83e-05/0.1403, allocations: 23.98 kB / 0.6367 GB, free: 15.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.1403, allocations: 26.11 kB / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.573e-05/0.1404, allocations: 60.8 kB / 0.6368 GB, free: 15.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1404, allocations: 0 / 0.6368 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001448/0.1406, allocations: 112.7 kB / 0.6369 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1406, allocations: 8 kB / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1406, allocations: 0 / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1406, allocations: 0 / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.1407, allocations: 16 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1407, allocations: 8.312 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.1407, allocations: 3.984 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1408, allocations: 0 / 0.637 GB, free: 15.04 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.597e-05/0.1408, allocations: 117.8 kB / 0.6371 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.1408, allocations: 7.938 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.141, allocations: 101.6 kB / 0.6372 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.141, allocations: 4 kB / 0.6372 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1411, allocations: 0 / 0.6372 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1411, allocations: 7.922 kB / 0.6372 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.1414, allocations: 358.4 kB / 0.6375 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1414, allocations: 96 / 0.6375 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.1415, allocations: 23.94 kB / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1416, allocations: 0 / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1416, allocations: 4 kB / 0.6376 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1416, allocations: 4 kB / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1416, allocations: 3.984 kB / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.1418, allocations: 227.5 kB / 0.6378 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.1419, allocations: 85.05 kB / 0.6379 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.1419, allocations: 0 / 0.6379 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.142, allocations: 0 / 0.6379 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.142, allocations: 11.98 kB / 0.6379 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.142, allocations: 4 kB / 0.6379 GB, free: 13.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.142, allocations: 75.28 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.142, allocations: 0 / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1423, allocations: 43.92 kB / 0.638 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.0001724/0.1425, allocations: 127.4 kB / 0.6381 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.1427, allocations: 79.83 kB / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1427, allocations: 0 / 0.6382 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.1427, allocations: 35.92 kB / 0.6382 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.1429, allocations: 4 kB / 0.6382 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.1434, allocations: 281.1 kB / 0.6385 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.1437, allocations: 0.6884 MB / 0.6392 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.1437, allocations: 11.92 kB / 0.6392 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.1437, allocations: 15.44 kB / 0.6392 GB, free: 12.59 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1437, allocations: 0 / 0.6392 GB, free: 12.59 MB / 494.1 MB Notification: Performance of Templates: time 0.002949/0.1467, allocations: 0.9464 MB / 0.6401 GB, free: 11.68 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)