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.00126/0.00126, allocations: 109.7 kB / 17.08 MB, free: 6.008 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.001238/0.001238, allocations: 192.1 kB / 18.02 MB, free: 5.082 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.409/1.409, 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.8464/0.8464, allocations: 126.4 MB / 418.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 67.58 kB / 0.5742 GB, free: 27.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1451, allocations: 78.78 MB / 0.6511 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002703/0.1479, allocations: 1.458 MB / 0.6525 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.149, allocations: 0.6321 MB / 0.6532 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.149, allocations: 0 / 0.6532 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.1491, allocations: 11.92 kB / 0.6532 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.1491, allocations: 3.938 kB / 0.6532 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.1497, allocations: 163.3 kB / 0.6533 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.089e-05/0.1498, allocations: 51.84 kB / 0.6534 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.1499, allocations: 4 kB / 0.6534 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.1499, allocations: 27.91 kB / 0.6534 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.15, allocations: 23.86 kB / 0.6534 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.15, allocations: 8 kB / 0.6534 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005324/0.1506, allocations: 351.2 kB / 0.6538 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.1506, allocations: 15.98 kB / 0.6538 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.1506, allocations: 27.84 kB / 0.6538 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.1509, allocations: 179.3 kB / 0.654 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1509, allocations: 0 / 0.654 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.151, allocations: 0 / 0.654 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.151, allocations: 0 / 0.654 GB, free: 0.6289 MB / 494.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.0006678/0.1516, allocations: 402.9 kB / 0.6544 GB, free: 192 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1517, allocations: 12.03 kB / 0.6544 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.1517, allocations: 4.891 kB / 0.6544 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1519, allocations: 168.3 kB / 0.6545 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.1519, allocations: 8.375 kB / 0.6546 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.152, allocations: 8.375 kB / 0.6546 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.1522, allocations: 88.02 kB / 0.6546 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1523, allocations: 0 / 0.6546 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1523, allocations: 0 / 0.6546 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1523, allocations: 8 kB / 0.6547 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.1525, allocations: 47.95 kB / 0.6547 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.1531, allocations: 320.7 kB / 0.655 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.1534, allocations: 90.47 kB / 0.6551 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1536, allocations: 28.84 kB / 0.6551 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1536, allocations: 0 / 0.6551 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1536, allocations: 38.5 kB / 0.6552 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.1536, allocations: 0 / 0.6552 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.00172/0.1554, allocations: 0.6422 MB / 0.6558 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1554, allocations: 51.41 kB / 0.6558 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.1555, allocations: 109.8 kB / 0.6559 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1555, allocations: 25.7 kB / 0.656 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.1556, allocations: 100.1 kB / 0.6561 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.1557, allocations: 59.44 kB / 0.6561 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.1557, allocations: 29.7 kB / 0.6561 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1559, allocations: 310.8 kB / 0.6564 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.156, allocations: 35.97 kB / 0.6565 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1561, allocations: 31.98 kB / 0.6565 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.1564, allocations: 68.83 kB / 0.6566 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1564, allocations: 0 / 0.6566 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003279/0.1568, allocations: 121.2 kB / 0.6567 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1568, allocations: 4 kB / 0.6567 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1568, allocations: 3.984 kB / 0.6567 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1568, allocations: 3.938 kB / 0.6567 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.157, allocations: 31.92 kB / 0.6567 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.157, allocations: 4.312 kB / 0.6567 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.1571, allocations: 4 kB / 0.6567 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1571, allocations: 4 kB / 0.6567 GB, free: 13.5 MB / 0.4981 GB 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 0.0001559/0.1572, allocations: 121.3 kB / 0.6569 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.1573, allocations: 7.953 kB / 0.6569 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.1577, allocations: 129.5 kB / 0.657 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.1577, allocations: 7.938 kB / 0.657 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1577, allocations: 0 / 0.657 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1577, allocations: 7.984 kB / 0.657 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/0.1583, allocations: 370.6 kB / 0.6574 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1583, allocations: 7.938 kB / 0.6574 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.1585, allocations: 27.92 kB / 0.6574 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1585, allocations: 0 / 0.6574 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1585, allocations: 3.984 kB / 0.6574 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1586, allocations: 0 / 0.6574 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1586, allocations: 4 kB / 0.6574 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.1591, allocations: 255.7 kB / 0.6576 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.1592, allocations: 85 kB / 0.6577 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1592, allocations: 0 / 0.6577 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1593, allocations: 8 kB / 0.6577 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.1593, allocations: 7.984 kB / 0.6577 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1594, allocations: 12 kB / 0.6577 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.1594, allocations: 87.27 kB / 0.6578 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1594, allocations: 0 / 0.6578 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002806/0.1597, allocations: 39.88 kB / 0.6579 GB, free: 12.24 MB / 0.4981 GB 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.0002087/0.1599, allocations: 139 kB / 0.658 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.1603, allocations: 91.88 kB / 0.6581 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1603, allocations: 0 / 0.6581 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.1604, allocations: 47.97 kB / 0.6581 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1608, allocations: 16.7 kB / 0.6582 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/0.1614, allocations: 313.5 kB / 0.6585 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1618, allocations: 0.6924 MB / 0.6591 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.282e-05/0.1618, allocations: 8.672 kB / 0.6591 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.1619, allocations: 15.42 kB / 0.6592 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1619, allocations: 0 / 0.6592 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.003958/0.1659, allocations: 1.143 MB / 0.6603 GB, free: 9.762 MB / 0.4981 GB 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)