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.0009788/0.0009786, allocations: 100.6 kB / 16.4 MB, free: 6.508 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.0009952/0.0009953, allocations: 196 kB / 17.34 MB, free: 5.742 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.662/0.662, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.7 kB / 0.5577 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.132, allocations: 76.19 MB / 0.6321 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002183/0.1342, allocations: 1.443 MB / 0.6335 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000963/0.1352, allocations: 0.6344 MB / 0.6341 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.1352, allocations: 4 kB / 0.6341 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.1353, allocations: 3.938 kB / 0.6341 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.1353, allocations: 3.938 kB / 0.6341 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005303/0.1359, allocations: 159.3 kB / 0.6343 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.1359, allocations: 51.86 kB / 0.6343 GB, free: 2.215 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.136, allocations: 7.984 kB / 0.6343 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.1361, allocations: 23.92 kB / 0.6344 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.1361, allocations: 27.91 kB / 0.6344 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1361, allocations: 7.938 kB / 0.6344 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.1366, allocations: 343.3 kB / 0.6347 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.1366, allocations: 11.94 kB / 0.6347 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.1367, allocations: 31.86 kB / 0.6348 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1369, allocations: 179.5 kB / 0.6349 GB, free: 1.594 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.137, allocations: 0 / 0.6349 GB, free: 1.594 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.137, allocations: 4 kB / 0.6349 GB, free: 1.59 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.137, allocations: 0 / 0.6349 GB, free: 1.59 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.0005871/0.1376, allocations: 395.3 kB / 0.6353 GB, free: 1.152 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1376, allocations: 8.031 kB / 0.6353 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.1377, allocations: 8.844 kB / 0.6353 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1378, allocations: 168.3 kB / 0.6355 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.1378, allocations: 8.375 kB / 0.6355 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1379, allocations: 4.375 kB / 0.6355 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.1381, allocations: 85.22 kB / 0.6356 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1381, allocations: 192 / 0.6356 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1381, allocations: 7.938 kB / 0.6356 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1381, allocations: 0 / 0.6356 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1384, allocations: 47.95 kB / 0.6356 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.1389, allocations: 328.6 kB / 0.636 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.1392, allocations: 82.53 kB / 0.636 GB, free: 328 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1393, allocations: 36.77 kB / 0.6361 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1393, allocations: 7.984 kB / 0.6361 GB, free: 280 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1394, allocations: 30.56 kB / 0.6361 GB, free: 240 kB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1394, allocations: 4 kB / 0.6361 GB, free: 236 kB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001534/0.1409, allocations: 0.6463 MB / 0.6367 GB, free: 15.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.141, allocations: 51.41 kB / 0.6368 GB, free: 15.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.141, allocations: 101.8 kB / 0.6369 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1411, allocations: 29.7 kB / 0.6369 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.1411, allocations: 96.03 kB / 0.637 GB, free: 15.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1412, allocations: 43.48 kB / 0.637 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.1412, allocations: 25.66 kB / 0.6371 GB, free: 15.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1413, allocations: 322.8 kB / 0.6374 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1415, allocations: 31.98 kB / 0.6374 GB, free: 14.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1416, allocations: 31.97 kB / 0.6374 GB, free: 14.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.1418, allocations: 84.83 kB / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1418, allocations: 0 / 0.6375 GB, free: 14.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003053/0.1421, allocations: 115.7 kB / 0.6376 GB, free: 14.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1422, allocations: 4 kB / 0.6376 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1422, allocations: 8 kB / 0.6376 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1422, allocations: 0 / 0.6376 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1423, allocations: 23.98 kB / 0.6377 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1423, allocations: 0 / 0.6377 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.776e-05/0.1424, allocations: 15.92 kB / 0.6377 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.1424, allocations: 7.938 kB / 0.6377 GB, free: 14.46 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 9.113e-05/0.1425, allocations: 113.8 kB / 0.6378 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1426, allocations: 0 / 0.6378 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.1429, allocations: 133.5 kB / 0.6379 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1429, allocations: 0 / 0.6379 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1429, allocations: 3.938 kB / 0.6379 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.143, allocations: 3.938 kB / 0.6379 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.1435, allocations: 382.7 kB / 0.6383 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1435, allocations: 0 / 0.6383 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.1437, allocations: 27.98 kB / 0.6383 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1437, allocations: 4 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1437, allocations: 7.938 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1437, allocations: 0 / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1437, allocations: 7.938 kB / 0.6383 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.1442, allocations: 255.3 kB / 0.6386 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.1442, allocations: 77.11 kB / 0.6387 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.1442, allocations: 12.03 kB / 0.6387 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1444, allocations: 7.984 kB / 0.6387 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.1444, allocations: 11.98 kB / 0.6387 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.1444, allocations: 4 kB / 0.6387 GB, free: 13.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.1444, allocations: 75.47 kB / 0.6388 GB, free: 13.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1444, allocations: 0 / 0.6388 GB, free: 13.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1447, allocations: 40 kB / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0001954/0.1449, allocations: 143.2 kB / 0.6389 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.1452, allocations: 91.83 kB / 0.639 GB, free: 12.97 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1452, allocations: 0 / 0.639 GB, free: 12.97 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1454, allocations: 47.91 kB / 0.6391 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1456, allocations: 10.02 kB / 0.6391 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.1462, allocations: 313.6 kB / 0.6394 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.1465, allocations: 0.6885 MB / 0.6401 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.1465, allocations: 16.66 kB / 0.6401 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.1466, allocations: 11.44 kB / 0.6401 GB, free: 11.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1466, allocations: 0 / 0.6401 GB, free: 11.84 MB / 494.1 MB Notification: Performance of Templates: time 0.003182/0.1497, allocations: 1.141 MB / 0.6412 GB, free: 10.74 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)