Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 93.33 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 176.4 kB / 16.58 MB, free: 6.062 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.359/1.359, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7071/0.7071, allocations: 115.5 MB / 407.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 12 kB / 495.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 77.52 MB / 0.5593 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001488/0.1355, allocations: 0.9769 MB / 0.5603 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.1365, allocations: 0.565 MB / 0.5608 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.1365, allocations: 0 / 0.5608 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.1366, allocations: 0 / 0.5608 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.1366, allocations: 3.984 kB / 0.5608 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.1371, allocations: 126 kB / 0.561 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.574e-05/0.1372, allocations: 15.94 kB / 0.561 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.1373, allocations: 3.984 kB / 0.561 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.1373, allocations: 4 kB / 0.561 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/0.1374, allocations: 15.92 kB / 0.561 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1374, allocations: 4 kB / 0.561 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.1379, allocations: 335.3 kB / 0.5613 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.138, allocations: 3.984 kB / 0.5613 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.138, allocations: 29.7 kB / 0.5613 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1382, allocations: 96.11 kB / 0.5614 GB, free: 7.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1382, allocations: 0 / 0.5614 GB, free: 7.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1382, allocations: 0 / 0.5614 GB, free: 7.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1382, allocations: 0 / 0.5614 GB, free: 7.242 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004392/0.1387, allocations: 351.3 kB / 0.5618 GB, free: 6.852 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1387, allocations: 19.97 kB / 0.5618 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1388, allocations: 7.891 kB / 0.5618 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1389, allocations: 167.1 kB / 0.562 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1389, allocations: 0 / 0.562 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1389, allocations: 0 / 0.562 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1391, allocations: 53.52 kB / 0.562 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.1391, allocations: 0 / 0.562 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1391, allocations: 0 / 0.562 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1391, allocations: 0 / 0.562 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.1391, allocations: 12 kB / 0.562 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.1393, allocations: 165.7 kB / 0.5622 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1395, allocations: 46.55 kB / 0.5622 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.1395, allocations: 20.94 kB / 0.5622 GB, free: 6.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1396, allocations: 0 / 0.5622 GB, free: 6.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1396, allocations: 38.52 kB / 0.5623 GB, free: 6.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1396, allocations: 0 / 0.5623 GB, free: 6.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006299/0.1402, allocations: 310.2 kB / 0.5626 GB, free: 5.859 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1403, allocations: 55.39 kB / 0.5626 GB, free: 5.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.1404, allocations: 93.86 kB / 0.5627 GB, free: 5.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1404, allocations: 25.7 kB / 0.5627 GB, free: 5.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.25e-05/0.1404, allocations: 84.14 kB / 0.5628 GB, free: 5.574 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.1405, allocations: 19.7 kB / 0.5628 GB, free: 5.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.1405, allocations: 4 kB / 0.5628 GB, free: 5.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1406, allocations: 314.8 kB / 0.5631 GB, free: 5.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.1406, allocations: 12 kB / 0.5632 GB, free: 5.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.1406, allocations: 11.98 kB / 0.5632 GB, free: 5.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.1407, allocations: 12 kB / 0.5632 GB, free: 5.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1407, allocations: 3.938 kB / 0.5632 GB, free: 5.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001015/0.1408, allocations: 65.67 kB / 0.5632 GB, free: 5.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1408, allocations: 7.953 kB / 0.5633 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1408, allocations: 0 / 0.5633 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1409, allocations: 4 kB / 0.5633 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.437e-05/0.1409, allocations: 8.516 kB / 0.5633 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1409, allocations: 4 kB / 0.5633 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.1409, allocations: 4 kB / 0.5633 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.141, allocations: 4 kB / 0.5633 GB, free: 5.094 MB / 430.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/0.141, allocations: 113.8 kB / 0.5634 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.1411, allocations: 7.906 kB / 0.5634 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.1412, allocations: 77.55 kB / 0.5635 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1412, allocations: 3.984 kB / 0.5635 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1412, allocations: 0 / 0.5635 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1412, allocations: 4 kB / 0.5635 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1416, allocations: 315.4 kB / 0.5638 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1416, allocations: 4.141 kB / 0.5638 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.1417, allocations: 12 kB / 0.5638 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1417, allocations: 0 / 0.5638 GB, free: 4.492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1417, allocations: 4 kB / 0.5638 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1417, allocations: 3.938 kB / 0.5638 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1417, allocations: 0 / 0.5638 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1419, allocations: 180.4 kB / 0.564 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.1419, allocations: 89 kB / 0.5641 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.142, allocations: 7.984 kB / 0.5641 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.142, allocations: 4 kB / 0.5641 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.1421, allocations: 0 / 0.5641 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1421, allocations: 4 kB / 0.5641 GB, free: 4.168 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.938e-05/0.1421, allocations: 75.28 kB / 0.5641 GB, free: 4.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1421, allocations: 4.062 kB / 0.5641 GB, free: 4.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1424, allocations: 31.92 kB / 0.5642 GB, free: 4.059 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001614/0.1426, allocations: 115.2 kB / 0.5643 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1427, allocations: 36.16 kB / 0.5643 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1427, allocations: 0 / 0.5643 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.1427, allocations: 16 kB / 0.5643 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.143, allocations: 4 kB / 0.5643 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.1434, allocations: 225.9 kB / 0.5646 GB, free: 3.629 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1436, allocations: 0.6848 MB / 0.5652 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.317e-05/0.1437, allocations: 8.141 kB / 0.5652 GB, free: 2.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.1437, allocations: 11.44 kB / 0.5652 GB, free: 2.898 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1437, allocations: 0 / 0.5652 GB, free: 2.898 MB / 430.1 MB Notification: Performance of Templates: time 0.002687/0.1464, allocations: 0.5958 MB / 0.5658 GB, free: 2.32 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)