Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009719/0.0009719, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007728/0.007728, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 262.2 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9597/0.9597, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004189, allocations: 20.14 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1561, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001118/0.1572, allocations: 0.994 MB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000909/0.1582, allocations: 0.6161 MB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.1582, allocations: 0 / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.284e-05/0.1582, allocations: 0 / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.1583, allocations: 3.938 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.1587, allocations: 125.2 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.1587, allocations: 19.94 kB / 0.6868 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.1588, allocations: 3.984 kB / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.1588, allocations: 7.938 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.1589, allocations: 9.547 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1589, allocations: 0 / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.1593, allocations: 339.3 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.1594, allocations: 15.92 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.1594, allocations: 33.69 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1596, allocations: 146 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1596, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1597, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1597, allocations: 0 / 0.6874 GB, free: 12.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003357/0.16, allocations: 356.2 kB / 0.6877 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.16, allocations: 15.97 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.1601, allocations: 5.531 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.665e-05/0.1602, allocations: 167.8 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1602, allocations: 4.375 kB / 0.6879 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1602, allocations: 384 / 0.6879 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.747e-05/0.1603, allocations: 42.25 kB / 0.6879 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.1603, allocations: 192 / 0.6879 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1604, allocations: 3.938 kB / 0.6879 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1604, allocations: 0 / 0.6879 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.808e-05/0.1604, allocations: 19.92 kB / 0.688 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1606, allocations: 154.6 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1607, allocations: 43.22 kB / 0.6882 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.1608, allocations: 18.3 kB / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1608, allocations: 3.984 kB / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1608, allocations: 35.38 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.1608, allocations: 0 / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.000574/0.1614, allocations: 324.9 kB / 0.6885 GB, free: 11.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.1615, allocations: 51.41 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.421e-05/0.1615, allocations: 93.86 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1615, allocations: 25.7 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.1616, allocations: 84.77 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.1616, allocations: 19.7 kB / 0.6888 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.1616, allocations: 21.72 kB / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.1617, allocations: 310.8 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.1618, allocations: 15.92 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.1618, allocations: 12 kB / 0.6891 GB, free: 10.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.1619, allocations: 28.86 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.1619, allocations: 0 / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.717e-05/0.162, allocations: 69.62 kB / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.162, allocations: 7.938 kB / 0.6892 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.162, allocations: 0 / 0.6892 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-06/0.162, allocations: 4 kB / 0.6892 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.1621, allocations: 15.98 kB / 0.6892 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1621, allocations: 0 / 0.6892 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.1621, allocations: 0 / 0.6892 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1621, allocations: 4 kB / 0.6893 GB, free: 10.55 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 (7): * Single equations (assignments): 7 * 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.62e-05/0.1622, allocations: 114.4 kB / 0.6894 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.1622, allocations: 15.78 kB / 0.6894 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.1623, allocations: 73.58 kB / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1623, allocations: 4 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1623, allocations: 0 / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1624, allocations: 0 / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1626, allocations: 315.3 kB / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1626, allocations: 4.188 kB / 0.6898 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.1627, allocations: 19.98 kB / 0.6898 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1627, allocations: 0 / 0.6898 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1627, allocations: 4 kB / 0.6898 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1627, allocations: 0 / 0.6898 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1628, allocations: 0 / 0.6898 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1629, allocations: 180.3 kB / 0.6899 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.163, allocations: 89.03 kB / 0.69 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.163, allocations: 0 / 0.69 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1631, allocations: 4 kB / 0.69 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.1631, allocations: 7.984 kB / 0.69 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.1631, allocations: 4 kB / 0.6901 GB, free: 9.625 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.859e-05/0.1631, allocations: 79.34 kB / 0.6901 GB, free: 9.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1631, allocations: 3.938 kB / 0.6901 GB, free: 9.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1634, allocations: 20 kB / 0.6901 GB, free: 9.523 MB / 494.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 (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.0001586/0.1636, allocations: 123.2 kB / 0.6903 GB, free: 9.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.1637, allocations: 39.92 kB / 0.6903 GB, free: 9.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1637, allocations: 0 / 0.6903 GB, free: 9.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.1637, allocations: 15.98 kB / 0.6903 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1639, allocations: 12.75 kB / 0.6903 GB, free: 9.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.1643, allocations: 226.1 kB / 0.6905 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.1645, allocations: 0.6809 MB / 0.6912 GB, free: 8.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.1645, allocations: 7.984 kB / 0.6912 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.1646, allocations: 7.438 kB / 0.6912 GB, free: 8.352 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1646, allocations: 0 / 0.6912 GB, free: 8.352 MB / 494.1 MB Notification: Performance of Templates: time 0.002544/0.1671, allocations: 0.6172 MB / 0.6918 GB, free: 7.77 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)